Spaces:
Running
Running
My Duong
commited on
Commit
·
3658bab
1
Parent(s):
3a2b6a9
update app
Browse files- app_official.py +1 -1
app_official.py
CHANGED
@@ -35,7 +35,7 @@ def retrieve_info(query, k=5):
|
|
35 |
|
36 |
demo = gr.Interface(
|
37 |
fn=retrieve_info,
|
38 |
-
inputs=["text", gr.Number(
|
39 |
outputs=[gr.Textbox(label="Output chunk(s)", lines=500)],
|
40 |
)
|
41 |
|
|
|
35 |
|
36 |
demo = gr.Interface(
|
37 |
fn=retrieve_info,
|
38 |
+
inputs=["text", gr.Number(label="k (Number of chunks to retrieve)")],
|
39 |
outputs=[gr.Textbox(label="Output chunk(s)", lines=500)],
|
40 |
)
|
41 |
|