Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -179,8 +179,8 @@ demo = gr.Interface(
|
|
| 179 |
fn=granular_search,
|
| 180 |
inputs=[
|
| 181 |
gr.Textbox(label="Query", placeholder="Search for Vietnamese architecture..."),
|
| 182 |
-
gr.Number(value=
|
| 183 |
-
gr.Number(value=
|
| 184 |
],
|
| 185 |
outputs=gr.JSON(label="Results"),
|
| 186 |
title="Granular Search API (Persistent)",
|
|
|
|
| 179 |
fn=granular_search,
|
| 180 |
inputs=[
|
| 181 |
gr.Textbox(label="Query", placeholder="Search for Vietnamese architecture..."),
|
| 182 |
+
gr.Number(value=5, label="Initial K", visible=False),
|
| 183 |
+
gr.Number(value=1, label="Final K", visible=False)
|
| 184 |
],
|
| 185 |
outputs=gr.JSON(label="Results"),
|
| 186 |
title="Granular Search API (Persistent)",
|