tatianija commited on
Commit
21ff4f2
·
verified ·
1 Parent(s): 4e3bcb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -935,6 +935,7 @@ def generate_answers_async(model_name: str = "meta-llama/Llama-3.1-8B-Instruct",
935
  try:
936
  # Use the new method that handles attachments
937
  answer = agent.process_question_with_attachments(question_data)
 
938
  cached_answers[task_id] = {
939
  "question": question_text,
940
  "answer": answer
 
935
  try:
936
  # Use the new method that handles attachments
937
  answer = agent.process_question_with_attachments(question_data)
938
+ answer = remove_thinking_tags(answer)
939
  cached_answers[task_id] = {
940
  "question": question_text,
941
  "answer": answer