Kikirilkov commited on
Commit
5869f83
1 Parent(s): 0c511b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def voice_clone(text: str, speaker_wav: str, language: str):
24
  return "output.wav"
25
 
26
  iface = gr.Interface(fn=voice_clone,
27
- inputs=[gr.Audio(type="filepath", label="Voice spectrogram"), gr.Textbox(label="Text", info="One or two sentences at a time is better", max_lines=3), gr.Radio(label="language", info="Select an output language for the synthesised speech", choices=["en", "zh-cn", "ja", "de", "fr", "it", "pt", "pl", "tr", "ko", "nl", "cs", "ar", "es", "hu", "ru"], value="en")],
28
  outputs=gr.Audio(type="filepath", label="Synthesised spectrogram"),
29
  title="Voice Cloning")
30
 
 
24
  return "output.wav"
25
 
26
  iface = gr.Interface(fn=voice_clone,
27
+ inputs=[gr.Textbox(label="Text", info="One or two sentences at a time is better", max_lines=3), gr.Audio(type="filepath", label="Voice spectrogram"), gr.Radio(label="language", info="Select an output language for the synthesised speech", choices=["en", "zh-cn", "ja", "de", "fr", "it", "pt", "pl", "tr", "ko", "nl", "cs", "ar", "es", "hu", "ru"], value="en")],
28
  outputs=gr.Audio(type="filepath", label="Synthesised spectrogram"),
29
  title="Voice Cloning")
30