Spaces:
Runtime error
Runtime error
haydenbanz
commited on
Commit
•
d0ff20c
1
Parent(s):
e958088
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=["text", gr.Audio(type="filepath"),
|
28 |
outputs=gr.Audio(type="filepath"),
|
29 |
title="IMCapusle Voice Clone")
|
30 |
|
|
|
24 |
return "output.wav"
|
25 |
|
26 |
iface = gr.Interface(fn=voice_clone,
|
27 |
+
inputs=["text", gr.Audio(type="filepath"), gr.Radio(['es', 'hi', 'fr', 'ko', 'en'], label="Select Language"),
|
28 |
outputs=gr.Audio(type="filepath"),
|
29 |
title="IMCapusle Voice Clone")
|
30 |
|