Kremon96 commited on
Commit
69e126f
·
verified ·
1 Parent(s): 5457abc

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=["text", gr.Audio(type="filepath"), gr.Radio(['ko', 'en'], label="Language")],
28
- outputs=gr.Audio(type="filepath"),
29
- title="IMCapusle Voice Clone")
30
 
31
  iface.launch()
 
24
  return "output.wav"
25
 
26
  iface = gr.Interface(fn=voice_clone,
27
+ inputs=[gr.Textbox(label="Введите текст", value="", max_lines=3), gr.Audio(type="filepath", label="Загрузить аудиофайл")), gr.Radio(label="Выбор языка", 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()