samuelam commited on
Commit
2c0e7bd
1 Parent(s): f7217c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- return eval_scorer(prediction, gold_answer)
 
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