teowu commited on
Commit
ba89e47
·
verified ·
1 Parent(s): 336bb36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def get_prompt(conversation) -> str:
90
  return system_prompt
91
 
92
  def highlight_thinking(msg: str) -> str:
93
- msg = copy.deepcopy()
94
  if "◁think▷" in msg:
95
  msg = msg.replace("◁think▷", "<b style='color:blue;'>🤔Thinking...</b>\n")
96
  if "◁/think▷" in msg:
 
90
  return system_prompt
91
 
92
  def highlight_thinking(msg: str) -> str:
93
+ msg = copy.deepcopy(msg)
94
  if "◁think▷" in msg:
95
  msg = msg.replace("◁think▷", "<b style='color:blue;'>🤔Thinking...</b>\n")
96
  if "◁/think▷" in msg: