Goodnight7 commited on
Commit
a836dc1
·
verified ·
1 Parent(s): ce57da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -67,8 +67,10 @@ if prompt :
67
  st.session_state.run_id = cb.traced_runs[0].id
68
  message_placeholder.markdown(full_response)
69
  if used_docs:
70
- docs_content = "\n\n".join(f"Doc {i + 1}:\n{doc.page_content}\nMetadata: {doc.metadata}" for i, doc in enumerate(used_docs)
71
-
 
 
72
 
73
 
74
  with st.sidebar:
 
67
  st.session_state.run_id = cb.traced_runs[0].id
68
  message_placeholder.markdown(full_response)
69
  if used_docs:
70
+ docs_content = "\n\n".join(
71
+ f"Doc {i + 1}:\n{doc.page_content}\nMetadata: {doc.metadata}\n"
72
+ for i, doc in enumerate(used_docs)
73
+ )
74
 
75
 
76
  with st.sidebar: