Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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:
|