Kremon96 commited on
Commit
1c90066
1 Parent(s): de7ffe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,8 +24,8 @@ 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="Спектрограмма голоса"), gr.Textbox(label="Текст", info="Введите одно или два предложения за раз", max_lines=3), gr.Radio(label="Язык речи", info="Выберите язык вывода для синтезированной речи", choices=["ru", "en", "zh-cn", "ja", "de", "fr", "it", "pt", "pl", "tr", "ko", "nl", "cs", "ar", "es", "hu"], value="en")],
28
- outputs=gr.Audio(type="filepath", label="Синтезированная спектрограмма"),
29
- title="Клонирование голоса")
30
 
31
  iface.launch((), debug=True)
 
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
 
31
  iface.launch((), debug=True)