Spaces:
Running
Running
Update app.py
Browse files
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.Audio(type="filepath", label="
|
28 |
-
outputs=gr.Audio(type="filepath", label="
|
29 |
-
title="
|
30 |
|
31 |
iface.launch((), debug=True)
|
|
|
24 |
return "output.wav"
|
25 |
|
26 |
iface = gr.Interface(fn=voice_clone,
|
27 |
+
inputs=[gr.Audio(type="filepath", label="Voice spectrogram"), gr.Textbox(label="Text", info="One or two sentences at a time is better", max_lines=3), 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((), debug=True)
|