joy1515 commited on
Commit
a06e86f
·
verified ·
1 Parent(s): 9ee7c56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -158,7 +158,7 @@ def create_demo_interface() -> gr.Interface:
158
  fn=system.search,
159
  inputs=[
160
  gr.Textbox(label="Enter your search query:", placeholder="Describe the image...", lines=2),
161
- gr.Audio(source="microphone", type="filepath", label="Speak Your Query (Optional)")
162
  ],
163
  outputs=[
164
  gr.Gallery(label="Search Results", show_label=True, columns=5, height="auto"),
 
158
  fn=system.search,
159
  inputs=[
160
  gr.Textbox(label="Enter your search query:", placeholder="Describe the image...", lines=2),
161
+ gr.Audio(sources=["microphone"], type="filepath", label="Speak Your Query (Optional)")
162
  ],
163
  outputs=[
164
  gr.Gallery(label="Search Results", show_label=True, columns=5, height="auto"),