Niveytha27 commited on
Commit
b44ef4e
·
verified ·
1 Parent(s): 55a7046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -199,7 +199,7 @@ def process_query(query):
199
  if "</think>" in answer:
200
  answer = answer.split("</think>", 1)[-1].strip()
201
  confidence = calculate_confidence(query, merged_result, answer)
202
- full_response = f"{extracted_answer}\n\nConfidence: {confidence:.2f}"
203
  return full_response
204
 
205
  # --- Initialization ---
 
199
  if "</think>" in answer:
200
  answer = answer.split("</think>", 1)[-1].strip()
201
  confidence = calculate_confidence(query, merged_result, answer)
202
+ full_response = f"{answer}\n\nConfidence: {confidence:.2f}"
203
  return full_response
204
 
205
  # --- Initialization ---