Nechba commited on
Commit
f7c8d95
·
1 Parent(s): 1bfc496
Files changed (1) hide show
  1. app.py +1 -0
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,