samuelam commited on
Commit
d3d1e88
1 Parent(s): cff7419

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def add_new_eval(
125
  return format_error(
126
  f"{task_id} not found in test set. Are you sure you submitted the correct file?")
127
 
128
- score = question_scorer(task['answer'], gold_answers["test"][task_id])
129
  difficulty = gold_difficulties["test"][task_id]
130
 
131
  scored_file.write(
 
125
  return format_error(
126
  f"{task_id} not found in test set. Are you sure you submitted the correct file?")
127
 
128
+ score, has_ans = question_scorer(task['answer'], gold_answers["test"][task_id])
129
  difficulty = gold_difficulties["test"][task_id]
130
 
131
  scored_file.write(