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