Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ from content import format_error, format_warning, format_log, TITLE
|
|
13 |
|
14 |
# Placeholder for the question_scorer function
|
15 |
def question_scorer(prediction, gold_answer):
|
16 |
-
|
|
|
17 |
|
18 |
|
19 |
# Constants and Configuration
|
|
|
13 |
|
14 |
# Placeholder for the question_scorer function
|
15 |
def question_scorer(prediction, gold_answer):
|
16 |
+
acc, has_ans = eval_scorer(prediction, gold_answer)
|
17 |
+
return acc, has_ans
|
18 |
|
19 |
|
20 |
# Constants and Configuration
|