Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
99 |
with gr.Column(scale=3):
|
100 |
gr.Markdown("## 2οΈβ£ Search")
|
101 |
query = gr.Textbox(placeholder="Enter your query here", label="Query")
|
102 |
-
k = gr.Slider(minimum=1, maximum=10, step=1, label="Number of results", value=
|
103 |
|
104 |
# Define the actions
|
105 |
search_button = gr.Button("π Search", variant="primary")
|
|
|
99 |
with gr.Column(scale=3):
|
100 |
gr.Markdown("## 2οΈβ£ Search")
|
101 |
query = gr.Textbox(placeholder="Enter your query here", label="Query")
|
102 |
+
k = gr.Slider(minimum=1, maximum=10, step=1, label="Number of results", value=5)
|
103 |
|
104 |
# Define the actions
|
105 |
search_button = gr.Button("π Search", variant="primary")
|