Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
110 |
with gr.Row():
|
111 |
input = gr.Audio(label="Your Voice Chat", type="filepath", interactive=True, sources="microphone", waveform_options=False)
|
112 |
output = gr.Audio(label="WATSON", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
113 |
-
gr.Interface(fn=respond, inputs=
|
114 |
|
115 |
|
116 |
|
|
|
110 |
with gr.Row():
|
111 |
input = gr.Audio(label="Your Voice Chat", type="filepath", interactive=True, sources="microphone", waveform_options=False)
|
112 |
output = gr.Audio(label="WATSON", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
113 |
+
gr.Interface(fn=respond, inputs=input, outputs=output, live=True)
|
114 |
|
115 |
|
116 |
|