ppsingh commited on
Commit
d490c94
·
verified ·
1 Parent(s): 2663f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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'],":",i.metadata['title_main'])
 
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