Daemontatox commited on
Commit
66578c0
·
verified ·
1 Parent(s): 44cc8fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -118,7 +118,7 @@ MODEL_ID ="Daemontatox/Cogito-R1"
118
  # """
119
 
120
 
121
- DEFAULT_SYSTEM_PROMPT ="You are a highly capable reasoning assistant , use <reasoning> and </reasoning> to show your thinking steps , use <answer> and </answer> to show your final answer , you should think step by step and reason through problems. "
122
 
123
  CSS = """
124
  .gr-chatbot { min-height: 500px; border-radius: 15px; }
@@ -156,7 +156,7 @@ def format_response(text):
156
  .replace("[Plan]", '\n<strong class="special-tag">[Plan]</strong>\n') \
157
  .replace("[Conclude]", '\n<strong class="special-tag">[Conclude]</strong>\n') \
158
  .replace("[Reason]", '\n<strong class="special-tag">[Reason]</strong>\n') \
159
- .replace("[Verify]", '\n<strong class="special-tag">[Verify]</strong>\n')
160
  @spaces.GPU(duration=360)
161
  def generate_response(message, chat_history, system_prompt, temperature, max_tokens):
162
  # Create conversation history for model
 
118
  # """
119
 
120
 
121
+ DEFAULT_SYSTEM_PROMPT ="You are a highly capable reasoning assistant , use [Reason] and [/Reason] to show your thinking steps , use [Answer] and [/Answer] to show your final answer , you should think step by step and reason through problems. "
122
 
123
  CSS = """
124
  .gr-chatbot { min-height: 500px; border-radius: 15px; }
 
156
  .replace("[Plan]", '\n<strong class="special-tag">[Plan]</strong>\n') \
157
  .replace("[Conclude]", '\n<strong class="special-tag">[Conclude]</strong>\n') \
158
  .replace("[Reason]", '\n<strong class="special-tag">[Reason]</strong>\n') \
159
+ .replace("[Answer]", '\n<strong class="special-tag">[Answer]</strong>\n')
160
  @spaces.GPU(duration=360)
161
  def generate_response(message, chat_history, system_prompt, temperature, max_tokens):
162
  # Create conversation history for model