Spaces:
Sleeping
Sleeping
Léo Bourrel
commited on
Commit
·
c885074
1
Parent(s):
f060825
feat: always display source docs
Browse files
app.py
CHANGED
@@ -153,8 +153,8 @@ with chat_column:
|
|
153 |
)
|
154 |
|
155 |
with doc_column:
|
|
|
156 |
if len(st.session_state.history) > 0:
|
157 |
-
st.markdown("**Source documents**")
|
158 |
for doc in st.session_state.history[-1].documents:
|
159 |
doc_content = json.loads(doc.page_content)
|
160 |
|
|
|
153 |
)
|
154 |
|
155 |
with doc_column:
|
156 |
+
st.markdown("**Source documents**")
|
157 |
if len(st.session_state.history) > 0:
|
|
|
158 |
for doc in st.session_state.history[-1].documents:
|
159 |
doc_content = json.loads(doc.page_content)
|
160 |
|