Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,8 @@ def greet(source, target, choices_s):
|
|
| 38 |
)
|
| 39 |
return "output.wav"
|
| 40 |
|
| 41 |
-
demo = gr.Interface(fn=greet, inputs=[gr.Audio(value="kratos.wav", type="filepath"),
|
| 42 |
-
gr.Audio(value="nikole_kidman.wav", type="filepath"),
|
| 43 |
-
gr.Dropdown(choices=["freevc24", "knnvc", "openvoice_v1", "openvoice_v2"])],
|
| 44 |
outputs=gr.Audio(type="filepath"))
|
| 45 |
demo.launch()
|
|
|
|
| 38 |
)
|
| 39 |
return "output.wav"
|
| 40 |
|
| 41 |
+
demo = gr.Interface(fn=greet, inputs=[gr.Audio(label="Source audio", value="kratos.wav", type="filepath"),
|
| 42 |
+
gr.Audio(label="Target audio", value="nikole_kidman.wav", type="filepath"),
|
| 43 |
+
gr.Dropdown(label="Model name", choices=["freevc24", "knnvc", "openvoice_v1", "openvoice_v2"])],
|
| 44 |
outputs=gr.Audio(type="filepath"))
|
| 45 |
demo.launch()
|