Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,8 @@ prompt = st.chat_input("Search anything...")
|
|
49 |
|
50 |
if prompt:
|
51 |
results = retriever.invoke(prompt)
|
52 |
-
|
|
|
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):
|