Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ model = ParlerTTSForConditionalGeneration.from_pretrained(
|
|
| 30 |
client = InferenceClient()
|
| 31 |
|
| 32 |
description_tokenizer = AutoTokenizer.from_pretrained(repo_id)
|
| 33 |
-
prompt_tokenizer = AutoTokenizer.from_pretrained(repo_id, padding_side=
|
| 34 |
feature_extractor = AutoFeatureExtractor.from_pretrained(repo_id)
|
| 35 |
|
| 36 |
SAMPLE_RATE = feature_extractor.sampling_rate
|
|
|
|
| 30 |
client = InferenceClient()
|
| 31 |
|
| 32 |
description_tokenizer = AutoTokenizer.from_pretrained(repo_id)
|
| 33 |
+
prompt_tokenizer = AutoTokenizer.from_pretrained(repo_id, padding_side="left")
|
| 34 |
feature_extractor = AutoFeatureExtractor.from_pretrained(repo_id)
|
| 35 |
|
| 36 |
SAMPLE_RATE = feature_extractor.sampling_rate
|