Toumaima commited on
Commit
7d8aa17
·
verified ·
1 Parent(s): a5290e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -48,8 +48,6 @@ class BasicAgent:
48
  opposite = opposites.get(word, f"UNKNOWN_OPPOSITE_OF_{word}")
49
  final_answer_clean = final_answer.strip().replace("\n", " ").replace("\r", "")
50
  return f"FINAL ANSWER: {final_answer_clean}"
51
-
52
- return f"FINAL ANSWER:{opposite}"
53
  return "FINAL ANSWER: COULD_NOT_SOLVE"
54
 
55
  def __call__(self, question: str) -> str:
 
48
  opposite = opposites.get(word, f"UNKNOWN_OPPOSITE_OF_{word}")
49
  final_answer_clean = final_answer.strip().replace("\n", " ").replace("\r", "")
50
  return f"FINAL ANSWER: {final_answer_clean}"
 
 
51
  return "FINAL ANSWER: COULD_NOT_SOLVE"
52
 
53
  def __call__(self, question: str) -> str: