Spaces:
Sleeping
Sleeping
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. We DO need trust_remote_code here, and we explain why below.
|
25 |
tts_config = AutoConfig.from_pretrained(TTS_MODEL_NAME, trust_remote_code=True)
|
|
|
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. We DO need trust_remote_code here, and we explain why below.
|
25 |
tts_config = AutoConfig.from_pretrained(TTS_MODEL_NAME, trust_remote_code=True)
|