Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
121 |
with gr.Row():
|
122 |
input = gr.Audio(label="Your Voice Chat", type="filepath", interactive=True, sources="microphone", waveform_options=False)
|
123 |
output = gr.Audio(label="WATSON", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
124 |
-
gr.Interface(fn=respond,
|
125 |
|
126 |
#with gr.Row():
|
127 |
# translate_btn = gr.Button("Response")
|
|
|
121 |
with gr.Row():
|
122 |
input = gr.Audio(label="Your Voice Chat", type="filepath", interactive=True, sources="microphone", waveform_options=False)
|
123 |
output = gr.Audio(label="WATSON", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
124 |
+
gr.Interface(fn=respond, inputs=[input], outputs=[output], live=True)
|
125 |
|
126 |
#with gr.Row():
|
127 |
# translate_btn = gr.Button("Response")
|