Isidorophp commited on
Commit
21d31a6
·
verified ·
1 Parent(s): 88855a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -243,7 +243,7 @@ with gr.Blocks(gr.themes.Soft()) as demo:
243
  user_voice = gr.Dropdown(choices=list(Male_language_dict.keys()), value="English (UK)-Ryan- (Male)" , label="Select Voice for Dr. WATSON")
244
  us_input = gr.Audio(label="Your Voice Chat", type="filepath", interactive=True, sources="microphone", waveform_options=None)
245
  us_output = gr.Audio(label="WATSON", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
246
- ter gr.Interface(fn=respond, inputs=[user_voice, us_input], outputs=us_output, live=False)
247
 
248
  with gr.Tab("Write to Dr. WATSON"):
249
  with gr.Group():
 
243
  user_voice = gr.Dropdown(choices=list(Male_language_dict.keys()), value="English (UK)-Ryan- (Male)" , label="Select Voice for Dr. WATSON")
244
  us_input = gr.Audio(label="Your Voice Chat", type="filepath", interactive=True, sources="microphone", waveform_options=None)
245
  us_output = gr.Audio(label="WATSON", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
246
+ gr.Interface(fn=respond, inputs=[user_voice, us_input], outputs=us_output, live=False)
247
 
248
  with gr.Tab("Write to Dr. WATSON"):
249
  with gr.Group():