Spaces:
Runtime error
Runtime error
feat: set default k to 4
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ app = gr.Interface(
|
|
69 |
search_index,
|
70 |
inputs=[
|
71 |
gr.Image(label="Input Image"),
|
72 |
-
gr.Slider(minimum=1, maximum=10, value=
|
73 |
],
|
74 |
outputs=[
|
75 |
gr.Gallery(label="Retrieved Images"),
|
|
|
69 |
search_index,
|
70 |
inputs=[
|
71 |
gr.Image(label="Input Image"),
|
72 |
+
gr.Slider(minimum=1, maximum=10, value=4, step=1, label="Top K"),
|
73 |
],
|
74 |
outputs=[
|
75 |
gr.Gallery(label="Retrieved Images"),
|