ZarinT commited on
Commit
23b35f5
Β·
verified Β·
1 Parent(s): 57298a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -86,9 +86,8 @@ class GeminiEmbeddings(Embeddings):
86
 
87
  vectorstore_global = None
88
 
89
- # Initialize feedback list
90
  if "feedback_log" not in st.session_state:
91
- st.session_state.feedback_log = []
92
 
93
 
94
  def preload_modtran_document():
@@ -346,7 +345,9 @@ def main():
346
  }.items():
347
  if key not in st.session_state:
348
  st.session_state[key] = default
349
-
 
 
350
  st.header("Chat with MODTRAN Documents πŸ“„")
351
 
352
  if not st.session_state.chat_ready:
 
86
 
87
  vectorstore_global = None
88
 
 
89
  if "feedback_log" not in st.session_state:
90
+ st.session_state["feedback_log"] = []
91
 
92
 
93
  def preload_modtran_document():
 
345
  }.items():
346
  if key not in st.session_state:
347
  st.session_state[key] = default
348
+ if "feedback_log" not in st.session_state:
349
+ st.session_state.feedback_log = []
350
+
351
  st.header("Chat with MODTRAN Documents πŸ“„")
352
 
353
  if not st.session_state.chat_ready: