Toumaima commited on
Commit
0db2f79
·
verified ·
1 Parent(s): 7a13bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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 self.format_final_answer(opposite)
76
  return self.format_final_answer("COULD_NOT_SOLVE")
77
 
78
  def query_groq(self, question: str) -> str:
@@ -169,8 +169,6 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
169
  except Exception as e:
170
  return f"Submission Failed: {e}", pd.DataFrame(results_log)
171
 
172
- print(no_spaces = re.sub(r"\s", "","FINAL ANSWER: right", "right")) # Should print True
173
-
174
  # --- Build Gradio Interface ---
175
  with gr.Blocks() as demo:
176
  gr.Markdown("# Basic Agent Evaluation Runner")
 
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:
 
169
  except Exception as e:
170
  return f"Submission Failed: {e}", pd.DataFrame(results_log)
171
 
 
 
172
  # --- Build Gradio Interface ---
173
  with gr.Blocks() as demo:
174
  gr.Markdown("# Basic Agent Evaluation Runner")