Spaces:
Running
Running
Kikirilkov
commited on
Commit
•
8b64e20
1
Parent(s):
1ab12fd
Update app.py
Browse files
app.py
CHANGED
@@ -24,10 +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(
|
28 |
-
|
29 |
-
gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="Language")],
|
30 |
-
outputs=gr.Audio(type="filepath", label="Generated audio file"),
|
31 |
title="Voice Cloning by Shadhil")
|
32 |
|
33 |
iface.launch()
|
|
|
24 |
return "output.wav"
|
25 |
|
26 |
iface = gr.Interface(fn=voice_clone,
|
27 |
+
inputs=[gr.Textbox(label="Input the text. 300 symbols are recommended", max_lines=3), gr.Audio(type="filepath", label="Upload audio file"), gr.Radio(label="Language", 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="Output"),
|
|
|
|
|
29 |
title="Voice Cloning by Shadhil")
|
30 |
|
31 |
iface.launch()
|