Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ st.markdown("""
|
|
73 |
</style>
|
74 |
""", unsafe_allow_html=True)
|
75 |
|
76 |
-
st.title("🔍 Tool
|
77 |
|
78 |
col1, col2 = st.columns([4, 1])
|
79 |
with col1:
|
@@ -81,7 +81,7 @@ with col1:
|
|
81 |
with col2:
|
82 |
search_clicked = st.button("🔎 Search", use_container_width=True)
|
83 |
|
84 |
-
top_k = st.slider("Number of Results", 1,
|
85 |
|
86 |
if search_clicked and query:
|
87 |
rec_ids, scores = retriever.search_return_id(query, top_k)
|
|
|
73 |
</style>
|
74 |
""", unsafe_allow_html=True)
|
75 |
|
76 |
+
st.title("🔍 Tool Retrieval")
|
77 |
|
78 |
col1, col2 = st.columns([4, 1])
|
79 |
with col1:
|
|
|
81 |
with col2:
|
82 |
search_clicked = st.button("🔎 Search", use_container_width=True)
|
83 |
|
84 |
+
top_k = st.slider("Number of Results", 1, 4453, 4453, help="Choose the number of results to display")
|
85 |
|
86 |
if search_clicked and query:
|
87 |
rec_ids, scores = retriever.search_return_id(query, top_k)
|