nanova commited on
Commit
bcf0f93
·
1 Parent(s): 7992f3b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,7 +69,7 @@ def respond(
69
 
70
  if len(current_response) > 16:
71
  if '<think>' in current_response:
72
- current_response = current_response.replace('<think>', '```')
73
  if '</think>' in current_response:
74
  current_response = current_response.replace('</think>', '```')
75
  if '**Final Answer**' in current_response:
@@ -84,7 +84,7 @@ def respond(
84
  continue
85
  if current_response:
86
  if '<think>' in current_response:
87
- current_response = current_response.replace('<think>', '```')
88
  if '</think>' in current_response:
89
  current_response = current_response.replace('</think>', '```')
90
  if '**Final Answer**' in current_response:
 
69
 
70
  if len(current_response) > 16:
71
  if '<think>' in current_response:
72
+ current_response = current_response.replace('<think>', '???+ Thinking\n```')
73
  if '</think>' in current_response:
74
  current_response = current_response.replace('</think>', '```')
75
  if '**Final Answer**' in current_response:
 
84
  continue
85
  if current_response:
86
  if '<think>' in current_response:
87
+ current_response = current_response.replace('<think>', '???+ Thinking\n```')
88
  if '</think>' in current_response:
89
  current_response = current_response.replace('</think>', '```')
90
  if '**Final Answer**' in current_response: