Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ transcribe_token_id = all_special_ids[-5]
|
|
19 |
translate_token_id = all_special_ids[-6]
|
20 |
|
21 |
# --- FastSpeech2 (TTS) Setup ---
|
22 |
-
TTS_MODEL_NAME = "
|
23 |
|
24 |
# 1. Load the config (now it should exist!)
|
25 |
tts_config = AutoConfig.from_pretrained(TTS_MODEL_NAME)
|
|
|
19 |
translate_token_id = all_special_ids[-6]
|
20 |
|
21 |
# --- FastSpeech2 (TTS) Setup ---
|
22 |
+
TTS_MODEL_NAME = "ford442/fastspeech2-en-ljspeech" # OR "facebook/fastspeech2-en-ljspeech" after PR
|
23 |
|
24 |
# 1. Load the config (now it should exist!)
|
25 |
tts_config = AutoConfig.from_pretrained(TTS_MODEL_NAME)
|