cakiki commited on
Commit
867c8b5
·
1 Parent(s): ffae5d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -20,10 +20,9 @@ with col2:
20
 
21
 
22
  if search_query or button_clicked:
23
- myquery = parser.parse(search_query)
24
  num_results = None
25
  #search_results = searcher.search(myquery, limit=num_results)
26
- search_results = searcher.search(myquery, k=1000)
27
  #st.write(f"<p align=\"right\" style=\"color:grey;\">Retrieved {len(search_results):,.0f} documents in {search_results.runtime*1000:.2f} ms</p>", unsafe_allow_html=True)
28
  for result in search_results[:10]:
29
  #keywords = ', '.join(result.key_terms('text'))
 
20
 
21
 
22
  if search_query or button_clicked:
 
23
  num_results = None
24
  #search_results = searcher.search(myquery, limit=num_results)
25
+ search_results = searcher.search(search_query, k=1000)
26
  #st.write(f"<p align=\"right\" style=\"color:grey;\">Retrieved {len(search_results):,.0f} documents in {search_results.runtime*1000:.2f} ms</p>", unsafe_allow_html=True)
27
  for result in search_results[:10]:
28
  #keywords = ', '.join(result.key_terms('text'))