Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,8 @@ button=st.button("search")
|
|
118 |
results= get_context(vectorstore, f"find the relvant paragraphs for: {var}")
|
119 |
st.write(f"Found {len(results)} results for query:{var}")
|
120 |
for i in results:
|
121 |
-
st.subheader(i.metadata['iati_id']
|
|
|
122 |
st.write(i.page_content)
|
123 |
st.divider()
|
124 |
|
|
|
118 |
results= get_context(vectorstore, f"find the relvant paragraphs for: {var}")
|
119 |
st.write(f"Found {len(results)} results for query:{var}")
|
120 |
for i in results:
|
121 |
+
st.subheader(i.metadata['iati_id']+":"+i.metadata['title_main'])
|
122 |
+
st.caption(f"Status:{i.metadata['status']}, Country:{i.metadata['country_name']}")
|
123 |
st.write(i.page_content)
|
124 |
st.divider()
|
125 |
|