Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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"),
|