Clone77 commited on
Commit
6bbe22b
·
verified ·
1 Parent(s): 3b38d15

Update pages/machine_learning.py

Browse files
Files changed (1) hide show
  1. pages/machine_learning.py +1 -1
pages/machine_learning.py CHANGED
@@ -74,7 +74,7 @@ try:
74
  result = deep_seek.invoke(messages)
75
 
76
  # Append to history
77
- st.session_state[PAGE_KEY].append((user_input, re.findall('<think>.*</think>(.*)',result.content,flags = re.DOTALL)))
78
 
79
  # --- Display Chat History ---
80
  st.subheader("🗨️ Chat History")
 
74
  result = deep_seek.invoke(messages)
75
 
76
  # Append to history
77
+ st.session_state[PAGE_KEY].append((user_input,result.content))
78
 
79
  # --- Display Chat History ---
80
  st.subheader("🗨️ Chat History")