yutohub commited on
Commit
bde839b
·
verified ·
1 Parent(s): 153f1f8

Fix app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -40,6 +40,7 @@ st.markdown("Search papers from [HF daily papers](https://huggingface.co/papers)
40
  user_query = st.text_input("Search anything...")
41
  if st.button('→'):
42
  results = retriever.invoke(user_query)
 
43
 
44
  for result in results:
45
  with st.expander(label=result.metadata['title'], expanded=False):
 
40
  user_query = st.text_input("Search anything...")
41
  if st.button('→'):
42
  results = retriever.invoke(user_query)
43
+ st.text("hit {len(results)} papers")
44
 
45
  for result in results:
46
  with st.expander(label=result.metadata['title'], expanded=False):