Wajahat698 commited on
Commit
d613c1c
·
verified ·
1 Parent(s): 4b94984

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -65,7 +65,8 @@ if "used_messages" not in st.session_state:
65
  st.session_state["used_messages"] = 0
66
  if "chat_history" not in st.session_state:
67
  st.session_state["chat_history"] = []
68
-
 
69
 
70
  # Initialize logging and load environment variables
71
  logging.basicConfig(level=logging.INFO)
 
65
  st.session_state["used_messages"] = 0
66
  if "chat_history" not in st.session_state:
67
  st.session_state["chat_history"] = []
68
+ if "documents" not in st.session_state:
69
+ st.session_state["documents"] = {}
70
 
71
  # Initialize logging and load environment variables
72
  logging.basicConfig(level=logging.INFO)