ford442 commited on
Commit
4d170e9
·
verified ·
1 Parent(s): 5304a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "your_username/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)
 
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)