Isidorophp commited on
Commit
a569087
Β·
verified Β·
1 Parent(s): 3515435

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, Inputs=[input], outputs=[output], live=True)
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")