yutohub commited on
Commit
870bb58
1 Parent(s): 87f166c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ prompt = st.chat_input("Search anything...")
49
 
50
  if prompt:
51
  results = retriever.invoke(prompt)
52
- st.text(f"Top n {len(results)} related papers")
 
53
 
54
  for result in results:
55
  with st.expander(label=result.metadata['title'], expanded=False):
 
49
 
50
  if prompt:
51
  results = retriever.invoke(prompt)
52
+
53
+ st.text(f"Top n `{len(results)}` related papers")
54
 
55
  for result in results:
56
  with st.expander(label=result.metadata['title'], expanded=False):