cakiki commited on
Commit
db86a8f
·
1 Parent(s): eb94c4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ 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=10)
26
- st.write(search_results)
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'))
 
23
  num_results = None
24
  #search_results = searcher.search(myquery, limit=num_results)
25
  search_results = searcher.search(search_query, k=10)
26
+ st.write(search_results[0].raw)
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'))