Spaces:
Runtime error
Runtime error
File size: 250 Bytes
af41cc5 |
1 2 3 4 5 6 7 8 9 |
import gradio as gr
import os
def inference(audio, text):
os.system('python demo_cli.py -audio '+audio.name+' --text '+text)
return 'demo_output_1.wav'
iface = gr.Interface(inference, inputs=["audio","text"], outputs="audio")
iface.launch() |