yutohub commited on
Commit
153f1f8
·
verified ·
1 Parent(s): 771786d

Fix app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ if st.button('→'):
43
 
44
  for result in results:
45
  with st.expander(label=result.metadata['title'], expanded=False):
46
- for k, v in result.metadata:
47
- st.write(f"{k}: {v}")
48
  st.divider()
49
  st.markdown(result.page_content)
 
43
 
44
  for result in results:
45
  with st.expander(label=result.metadata['title'], expanded=False):
46
+ for k in result.metadata:
47
+ st.write(f"{k}: {result.metadata[k]}")
48
  st.divider()
49
  st.markdown(result.page_content)