Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ device = "cpu"
|
|
14 |
repo_id = "TArtx/parler-tts-mini-v1-finetuned-12"
|
15 |
model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id).to(device)
|
16 |
tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
|
17 |
-
feature_extractor = AutoFeatureExtractor.from_pretrained(parler-tts/parler-tts-mini-v1)
|
18 |
|
19 |
# Constants
|
20 |
SAMPLE_RATE = feature_extractor.sampling_rate
|
|
|
14 |
repo_id = "TArtx/parler-tts-mini-v1-finetuned-12"
|
15 |
model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id).to(device)
|
16 |
tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
|
17 |
+
feature_extractor = AutoFeatureExtractor.from_pretrained("parler-tts/parler-tts-mini-v1")
|
18 |
|
19 |
# Constants
|
20 |
SAMPLE_RATE = feature_extractor.sampling_rate
|