Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
8ad565a
1
Parent(s):
af41cc5
Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,6 @@ def inference(audio, text):
|
|
5 |
os.system('python demo_cli.py -audio '+audio.name+' --text '+text)
|
6 |
return 'demo_output_1.wav'
|
7 |
|
8 |
-
iface = gr.Interface(inference, inputs=["
|
|
|
9 |
iface.launch()
|
|
|
5 |
os.system('python demo_cli.py -audio '+audio.name+' --text '+text)
|
6 |
return 'demo_output_1.wav'
|
7 |
|
8 |
+
iface = gr.Interface(inference, inputs=[gr.inputs.Audio(type="file"),"text"], outputs=gr.outputs.Audio(type="file"))
|
9 |
+
)
|
10 |
iface.launch()
|