Sandiago21 commited on
Commit
e44712b
1 Parent(s): bae429a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-
12
  greek_translation_pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-el")
13
 
14
  # load text-to-speech checkpoint and speaker embeddings
15
- model_id = "Sandiago21/speecht5_finetuned_google_fleurs_greek" # update with your model id
16
  # pipe = pipeline("automatic-speech-recognition", model=model_id)
17
  model = SpeechT5ForTextToSpeech.from_pretrained(model_id)
18
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
 
12
  greek_translation_pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-el")
13
 
14
  # load text-to-speech checkpoint and speaker embeddings
15
+ model_id = "microsoft/speecht5_tts" # update with your model id
16
  # pipe = pipeline("automatic-speech-recognition", model=model_id)
17
  model = SpeechT5ForTextToSpeech.from_pretrained(model_id)
18
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")