Clone77 commited on
Commit
28ec728
·
verified ·
1 Parent(s): 3ec7462

Update pages/python.py

Browse files
Files changed (1) hide show
  1. 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.chat_history.append((user_input, result.content))
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")