mannone commited on
Commit
4c582ff
1 Parent(s): 0c5a237
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
11
 
12
  @spaces.GPU(enable_queue=True)
13
  def clone(text, audio):
14
- tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./output.wav")
15
  return "./output.wav"
16
 
17
  iface = gr.Interface(fn=clone,
 
11
 
12
  @spaces.GPU(enable_queue=True)
13
  def clone(text, audio):
14
+ tts.tts_to_file(text=text, speaker_wav=audio, language="it", file_path="./output.wav")
15
  return "./output.wav"
16
 
17
  iface = gr.Interface(fn=clone,