mbarnig commited on
Commit
7c7b0cd
1 Parent(s): 50b398c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ my_inputs = [
48
  gr.Radio(label="Language", choices = TTS_LANGUAGES),
49
  ]
50
 
51
- my_outputs = gr.Audio(type="file", label="Output Audio")
52
 
53
  def tts(text: str, speaker_idx: str, language_idx: str):
54
  best_model_path = hf_hub_download(repo_id=REPO_ID, filename="best_model.pth")
 
48
  gr.Radio(label="Language", choices = TTS_LANGUAGES),
49
  ]
50
 
51
+ my_outputs = gr.Audio(type="filepath", label="Output Audio")
52
 
53
  def tts(text: str, speaker_idx: str, language_idx: str):
54
  best_model_path = hf_hub_download(repo_id=REPO_ID, filename="best_model.pth")