MadVoyager commited on
Commit
3f0710b
1 Parent(s): ae4a28b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import os
3
 
4
  def inference(text,audio):
5
- os.system('tts --text "'+text+'" --model_name tts_models/multilingual/multi-dataset/your_tts --speaker_wav '+audio+' --language_idx "en"')
6
  return "tts_output.wav"
7
 
8
  title="YourTTS"
 
2
  import os
3
 
4
  def inference(text,audio):
5
+ os.system('tts --text "'+text+'" --model_name tts_models/multilingual/multi-dataset/your_tts --speaker_wav '+audio+' --language_idx "pt"')
6
  return "tts_output.wav"
7
 
8
  title="YourTTS"