Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
0e4103d
1
Parent(s):
1b12cc3
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,6 @@ def inference(audio, text):
|
|
12 |
os.system("python demo_cli.py --audio_path "+audio.name+" --text "+shlex.quote(text.strip()))
|
13 |
return 'demo_output_1.wav'
|
14 |
|
15 |
-
iface = gr.Interface(inference, inputs=[gr.inputs.Audio(type="file"),"text"], outputs=gr.outputs.Audio(type="file"))
|
16 |
|
17 |
iface.launch()
|
|
|
12 |
os.system("python demo_cli.py --audio_path "+audio.name+" --text "+shlex.quote(text.strip()))
|
13 |
return 'demo_output_1.wav'
|
14 |
|
15 |
+
iface = gr.Interface(inference, inputs=[gr.inputs.Audio(type="file"),"text"], outputs=gr.outputs.Audio(type="file"),enable_queue=True)
|
16 |
|
17 |
iface.launch()
|