Spaces:
Running
Running
Kikirilkov
commited on
Commit
•
34381c6
1
Parent(s):
9938faa
Update app.py
Browse files
app.py
CHANGED
@@ -24,10 +24,9 @@ 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(lines=2, placeholder="Enter the text. 500 characters
|
28 |
gr.Audio(type="filepath", label="Upload audio file"),
|
29 |
-
gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="Language"),
|
30 |
-
],
|
31 |
outputs=gr.Audio(type="filepath", label="Generated audio file"),
|
32 |
title="Voice Cloning by Shadhil")
|
33 |
|
|
|
24 |
return "output.wav"
|
25 |
|
26 |
iface = gr.Interface(fn=voice_clone,
|
27 |
+
inputs=[gr.Textbox(lines=2, placeholder="Enter the text. 500 characters maximum.", label="Text"),
|
28 |
gr.Audio(type="filepath", label="Upload audio file"),
|
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 |
|