tatianija commited on
Commit
5f7d476
·
verified ·
1 Parent(s): 029d654

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -654,7 +654,8 @@ Question: {question}
654
  Answer:"""
655
 
656
  try:
657
- response = self._chat_completion(answer_prompt, max_tokens=500, temperature=0.3, chat_template_kwargs = {"enable_thinking": False} )
 
658
  return response
659
 
660
  except Exception as e:
 
654
  Answer:"""
655
 
656
  try:
657
+ response = self._chat_completion(answer_prompt, max_tokens=500, temperature=0.3)
658
+ response = remove_thinking_tags(response)
659
  return response
660
 
661
  except Exception as e: