Manishkumaryadav commited on
Commit
a716036
Β·
verified Β·
1 Parent(s): ccf7c37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -55,7 +55,8 @@ gui = gr.Interface(
55
  fn=chat_interface,
56
  inputs=[
57
  gr.Textbox(lines=2, placeholder="Type your message here..."),
58
- gr.Audio(source="upload", type="filepath", optional=True)
 
59
  ],
60
  outputs=[
61
  gr.Textbox(label="AI Response"),
 
55
  fn=chat_interface,
56
  inputs=[
57
  gr.Textbox(lines=2, placeholder="Type your message here..."),
58
+ gr.Audio(sources=["microphone", "upload"], type="filepath")
59
+
60
  ],
61
  outputs=[
62
  gr.Textbox(label="AI Response"),