Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -241,7 +241,7 @@ with gr.Blocks() as app:
|
|
241 |
with gr.Row():
|
242 |
kb_id_input = gr.Text(label="Your Knowledge Base ID (paste your Knowledge Base ID here, it is re-usable:)")
|
243 |
query_input = gr.Text(label="Your Queston")
|
244 |
-
topk_input = inputs=gr.Number(value=
|
245 |
retrieve_button = gr.Button("Step2: Retrieve Pages")
|
246 |
|
247 |
with gr.Row():
|
|
|
241 |
with gr.Row():
|
242 |
kb_id_input = gr.Text(label="Your Knowledge Base ID (paste your Knowledge Base ID here, it is re-usable:)")
|
243 |
query_input = gr.Text(label="Your Queston")
|
244 |
+
topk_input = inputs=gr.Number(value=5, minimum=1, maximum=10, step=1, label="Number of pages to retrieve")
|
245 |
retrieve_button = gr.Button("Step2: Retrieve Pages")
|
246 |
|
247 |
with gr.Row():
|