Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -165,8 +165,6 @@ def question_scorer(model_answer: str, ground_truth: str) -> bool:
|
|
165 |
else:
|
166 |
print(f"Evaluating '{model_answer}' as a string.")
|
167 |
return normalize_str(model_answer) == normalize_str(ground_truth)
|
168 |
-
|
169 |
-
print(question_scorer("FINAL ANSWER: right", ))
|
170 |
|
171 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
172 |
space_id = os.getenv("SPACE_ID")
|
|
|
165 |
else:
|
166 |
print(f"Evaluating '{model_answer}' as a string.")
|
167 |
return normalize_str(model_answer) == normalize_str(ground_truth)
|
|
|
|
|
168 |
|
169 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
170 |
space_id = os.getenv("SPACE_ID")
|