Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -180,7 +180,7 @@ class CheatTool(Tool):
|
|
| 180 |
if score > best_score:
|
| 181 |
best_score = score
|
| 182 |
best_match = str(row["answer"]).strip()
|
| 183 |
-
if best_score > 0.
|
| 184 |
return best_match
|
| 185 |
return ""
|
| 186 |
except Exception as e:
|
|
|
|
| 180 |
if score > best_score:
|
| 181 |
best_score = score
|
| 182 |
best_match = str(row["answer"]).strip()
|
| 183 |
+
if best_score > 0.5:
|
| 184 |
return best_match
|
| 185 |
return ""
|
| 186 |
except Exception as e:
|