Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,8 @@ def convert_voice(audio_file, voice_id):
|
|
| 45 |
interface = gr.Interface(
|
| 46 |
fn=convert_voice,
|
| 47 |
inputs=[
|
| 48 |
-
gr.Audio(type="
|
|
|
|
| 49 |
gr.Textbox(label="Voice ID", value="179")
|
| 50 |
],
|
| 51 |
outputs=gr.Textbox(label="Converted Audio URL"),
|
|
|
|
| 45 |
interface = gr.Interface(
|
| 46 |
fn=convert_voice,
|
| 47 |
inputs=[
|
| 48 |
+
gr.Audio(type="filepath", label="Upload Audio (.mp3)")
|
| 49 |
+
|
| 50 |
gr.Textbox(label="Voice ID", value="179")
|
| 51 |
],
|
| 52 |
outputs=gr.Textbox(label="Converted Audio URL"),
|