leo-kwan commited on
Commit
37ec437
1 Parent(s): ca21522

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ tokenizer = WhisperTokenizer.from_pretrained("openai/whisper-base", language="fr
18
  whisper_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-base")
19
  forced_decoder_ids = tokenizer.get_decoder_prompt_ids(language="french", task="translate")
20
 
21
- load text-to-speech checkpoint and speaker embeddings
22
  processor = SpeechT5Processor.from_pretrained("leo-kwan/speecht5_finetuned_voxpopuli_lt")
23
 
24
  model = SpeechT5ForTextToSpeech.from_pretrained("leo-kwan/speecht5_finetuned_voxpopuli_lt").to(device)
 
18
  whisper_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-base")
19
  forced_decoder_ids = tokenizer.get_decoder_prompt_ids(language="french", task="translate")
20
 
21
+ #load text-to-speech checkpoint and speaker embeddings
22
  processor = SpeechT5Processor.from_pretrained("leo-kwan/speecht5_finetuned_voxpopuli_lt")
23
 
24
  model = SpeechT5ForTextToSpeech.from_pretrained("leo-kwan/speecht5_finetuned_voxpopuli_lt").to(device)