meandyou200175 commited on
Commit
9f07257
·
verified ·
1 Parent(s): e60c0a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def bot_audio_interface(wav):
32
  with gr.Blocks() as demo:
33
  with gr.Row():
34
  with gr.Column():
35
- audio_input = gr.Audio(type="filepath", label="Input Audio") # Input âm thanh
36
  recognized_textbox = gr.Textbox(label="Recognized Text") # Text được nhận dạng bên trái
37
  with gr.Column():
38
  audio_output = gr.Audio(type="filepath", label="Response Audio") # Output âm thanh bên phải
 
32
  with gr.Blocks() as demo:
33
  with gr.Row():
34
  with gr.Column():
35
+ audio_input = gr.Audio(sources="microphone", type="filepath", label="Input Audio") # Input âm thanh
36
  recognized_textbox = gr.Textbox(label="Recognized Text") # Text được nhận dạng bên trái
37
  with gr.Column():
38
  audio_output = gr.Audio(type="filepath", label="Response Audio") # Output âm thanh bên phải