Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -199,7 +199,7 @@ with gr.Blocks() as app:
|
|
| 199 |
with gr.Row():
|
| 200 |
kb_id_input = gr.Text(label="Your Knowledge Base ID (paste your Knowledge Base ID here:)")
|
| 201 |
query_input = gr.Text(label="Your Queston")
|
| 202 |
-
topk_input = inputs=gr.Number(value=
|
| 203 |
retrieve_button = gr.Button("Retrieve")
|
| 204 |
|
| 205 |
with gr.Row():
|
|
|
|
| 199 |
with gr.Row():
|
| 200 |
kb_id_input = gr.Text(label="Your Knowledge Base ID (paste your Knowledge Base ID here:)")
|
| 201 |
query_input = gr.Text(label="Your Queston")
|
| 202 |
+
topk_input = inputs=gr.Number(value=3, minimum=1, maximum=5, step=1, label="Number of pages to retrieve")
|
| 203 |
retrieve_button = gr.Button("Retrieve")
|
| 204 |
|
| 205 |
with gr.Row():
|