mjolnir1122 commited on
Commit
cd17f5a
·
verified ·
1 Parent(s): b799593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks() as chat_ui:
66
  chatbot = gr.Chatbot(label="Conversation", type="messages") # Chat display
67
  with gr.Row():
68
  text_input = gr.Textbox(placeholder="Type your message here...", interactive=True)
69
- audio_input = gr.Audio(source="microphone", type="filepath") # Mic input
70
  submit_button = gr.Button("Submit")
71
 
72
  clear_button = gr.Button("Clear Chat")
 
66
  chatbot = gr.Chatbot(label="Conversation", type="messages") # Chat display
67
  with gr.Row():
68
  text_input = gr.Textbox(placeholder="Type your message here...", interactive=True)
69
+ audio_input = gr.Audio(type="filepath", format="wav") # ✅ Fixed Mic input
70
  submit_button = gr.Button("Submit")
71
 
72
  clear_button = gr.Button("Clear Chat")