syedmudassir16 commited on
Commit
e1e9d7f
·
verified ·
1 Parent(s): e2f60ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ with gr.Blocks() as demo:
103
 
104
  with gr.Row():
105
  submit = gr.Button("Send")
106
- voice_input = gr.Audio(source="microphone", type="filepath", label="Voice Input")
107
 
108
  # Handle text input
109
  msg.submit(process_input, inputs=[msg, state], outputs=[state, chatbot, msg, voice_input]).then(
 
103
 
104
  with gr.Row():
105
  submit = gr.Button("Send")
106
+ voice_input = gr.Audio(sources="microphone", type="filepath", label="Voice Input")
107
 
108
  # Handle text input
109
  msg.submit(process_input, inputs=[msg, state], outputs=[state, chatbot, msg, voice_input]).then(