Spaces:
Sleeping
Sleeping
Kaung Myat Htet
commited on
Commit
·
3247fad
1
Parent(s):
b5e5dbf
change to 10 default for k
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
|
|
39 |
query = gr.Textbox(label="Search Query", placeholder="write a query to find the courses")
|
40 |
with gr.Row():
|
41 |
search_type = gr.Dropdown(label="Search Type", choices=['semantic', 'keyword', 'hybrid'], value='hybrid')
|
42 |
-
k = gr.Number(label="Items Count", value=
|
43 |
rerank = gr.Checkbox(value=True, label="Rerank")
|
44 |
results = gr.Dataframe(label="Search Results")
|
45 |
|
|
|
39 |
query = gr.Textbox(label="Search Query", placeholder="write a query to find the courses")
|
40 |
with gr.Row():
|
41 |
search_type = gr.Dropdown(label="Search Type", choices=['semantic', 'keyword', 'hybrid'], value='hybrid')
|
42 |
+
k = gr.Number(label="Items Count", value=10)
|
43 |
rerank = gr.Checkbox(value=True, label="Rerank")
|
44 |
results = gr.Dataframe(label="Search Results")
|
45 |
|