Yyy0530 commited on
Commit
2deb0bd
·
verified ·
1 Parent(s): 7c04c37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,7 +73,7 @@ st.markdown("""
73
  </style>
74
  """, unsafe_allow_html=True)
75
 
76
- st.title("🔍 Tool Search")
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, 100, 50, 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)
 
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)