Spaces:
Sleeping
Sleeping
Update pages/python.py
Browse files- pages/python.py +1 -1
pages/python.py
CHANGED
@@ -66,7 +66,7 @@ if submit and user_input:
|
|
66 |
result = deep_seek.invoke(messages)
|
67 |
|
68 |
# Append to history
|
69 |
-
st.session_state.
|
70 |
|
71 |
# --- Display Chat History ---
|
72 |
st.subheader("🗨️ Chat History")
|
|
|
66 |
result = deep_seek.invoke(messages)
|
67 |
|
68 |
# Append to history
|
69 |
+
st.session_state[PAGE_KEY].append((user_input, result.content))
|
70 |
|
71 |
# --- Display Chat History ---
|
72 |
st.subheader("🗨️ Chat History")
|