yutohub commited on
Commit
a57139b
β€’
1 Parent(s): bde839b

Fix app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +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
- st.text("hit {len(results)} papers")
44
 
45
  for result in results:
46
  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(f"hit {len(results)} papers")
44
 
45
  for result in results:
46
  with st.expander(label=result.metadata['title'], expanded=False):