Spaces:
Running
Running
Update app.py
Browse files
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.Textbox(label="Введите текст", max_lines=3), gr.Audio(type="filepath", label="Загрузить аудиофайл"), gr.Radio(label="Выбор языка", choices=["ru", "en", "zh-cn", "de", "fr", "it", "pt", "pl", "tr", "ko", "nl", "cs", "ar", "es", "hu"], value="ru")],
|
28 |
outputs=gr.Audio(type="filepath", label="Вывод"),
|
29 |
title="Клонирование голоса")
|
30 |
|
|
|
24 |
return "output.wav"
|
25 |
|
26 |
iface = gr.Interface(fn=voice_clone,
|
27 |
+
inputs=[gr.Textbox(label="Введите текст", 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 |
|