cakiki commited on
Commit
36f545f
·
1 Parent(s): 654d876

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ if search_query or button_clicked:
27
  search_results = searcher.search(search_query)
28
  search_time = time.time() - t_0
29
  #st.write(dir(search_results[0]))
30
- st.write(f"<p align=\"right\" style=\"color:grey;\">Retrieved {len(search_results):,.0f} documents in {search_time*1000:.2f} ms</p>", unsafe_allow_html=True)
31
  for result in search_results[:10]:
32
  #keywords = ', '.join(result.key_terms('text'))
33
  #meta = result['meta']
 
27
  search_results = searcher.search(search_query)
28
  search_time = time.time() - t_0
29
  #st.write(dir(search_results[0]))
30
+ st.write(f'<p align=\"right\" style=\"color:grey;\">Retrieved {len(search_results):,.0f} documents in {search_time*1000:.2f} ms</p>', unsafe_allow_html=True)
31
  for result in search_results[:10]:
32
  #keywords = ', '.join(result.key_terms('text'))
33
  #meta = result['meta']