Toumaima commited on
Commit
2c64e68
·
verified ·
1 Parent(s): 0db2f79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ class BasicAgent:
72
  "true": "false", "yes": "no", "black": "white"
73
  }
74
  opposite = opposites.get(word, f"UNKNOWN_OPPOSITE_OF_{word}")
75
- return "FINAL ANSWER: right"
76
  return self.format_final_answer("COULD_NOT_SOLVE")
77
 
78
  def query_groq(self, question: str) -> str:
 
72
  "true": "false", "yes": "no", "black": "white"
73
  }
74
  opposite = opposites.get(word, f"UNKNOWN_OPPOSITE_OF_{word}")
75
+ return self.format_final_answer(opposite)
76
  return self.format_final_answer("COULD_NOT_SOLVE")
77
 
78
  def query_groq(self, question: str) -> str: