Kremon96 commited on
Commit
f5f4420
1 Parent(s): 2850a0a

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.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
 
31
  iface.launch ()
 
24
  return "output.wav"
25
 
26
  iface = gr.Interface(fn=voice_clone,
27
+ inputs=[gr.Textbox(label="Текст", info="Достаточно одного-двух предложений за конвертацию", max_lines=3), gr.Audio(type="filepath", label="Звуковая спектрограмма"), gr.Radio(label="Язык речи", info="Выберите язык вывода для синтезированной речи", choices=["ru", "en", "zh-cn", "ja", "de", "fr", "it", "pt", "pl", "tr", "ko", "nl", "cs", "ar", "es", "hu"], value="ru")],
28
+ outputs=gr.Audio(type="filepath", label="Синтезированная спектрограмма"),
29
+ title="Клонирование голоса")
30
 
31
  iface.launch ()