Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ prompt = st.chat_input("Search anything...")
|
|
50 |
if prompt:
|
51 |
results = retriever.invoke(prompt)
|
52 |
|
53 |
-
st.
|
54 |
|
55 |
for result in results:
|
56 |
with st.expander(label=result.metadata['title'], expanded=False):
|
|
|
50 |
if prompt:
|
51 |
results = retriever.invoke(prompt)
|
52 |
|
53 |
+
st.markdown(f"Top n `{len(results)}` related papers")
|
54 |
|
55 |
for result in results:
|
56 |
with st.expander(label=result.metadata['title'], expanded=False):
|