selim-ba commited on
Commit
6b2cc55
·
verified ·
1 Parent(s): b27dd95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -499,7 +499,7 @@ class SuperSmartAgent:
499
  # Look for numbers with relevant context
500
  best_number_match = self.find_best_number_match_spacy(question_lower, numbers_dates, context)
501
  if best_number_match:
502
- return f"The answer is {best_number_match[0]}."
503
 
504
  elif question_type == "person":
505
  relevant_person = self.find_relevant_person_spacy(question_lower, entities)
 
499
  # Look for numbers with relevant context
500
  best_number_match = self.find_best_number_match_spacy(question_lower, numbers_dates, context)
501
  if best_number_match:
502
+ return f"{best_number_match[0]}"
503
 
504
  elif question_type == "person":
505
  relevant_person = self.find_relevant_person_spacy(question_lower, entities)