Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|