fixed bug
Browse files
app.py
CHANGED
|
@@ -218,6 +218,7 @@ with st.container():
|
|
| 218 |
keys = get_all_keys(schema)
|
| 219 |
comments = handle_comments(comments, keys)
|
| 220 |
save_comments(document_id, comments)
|
|
|
|
| 221 |
if schema and st.button('Process') :
|
| 222 |
if st.session_state.doument_slected_to_chat.split("_")[-1]=="pdf":
|
| 223 |
data = {"token": st.session_state.token,
|
|
|
|
| 218 |
keys = get_all_keys(schema)
|
| 219 |
comments = handle_comments(comments, keys)
|
| 220 |
save_comments(document_id, comments)
|
| 221 |
+
comments = get_comments(document_id)
|
| 222 |
if schema and st.button('Process') :
|
| 223 |
if st.session_state.doument_slected_to_chat.split("_")[-1]=="pdf":
|
| 224 |
data = {"token": st.session_state.token,
|