gabejavitt commited on
Commit
48d349a
·
verified ·
1 Parent(s): f7d8a86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1934,7 +1934,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
1934
 
1935
  task_id = item.get("task_id")
1936
  question_text = item.get("question")
1937
- correct_answer = answer_sheet[task_id]
1938
 
1939
  # Look for file locally in files/ directory
1940
  local_file_path = None
 
1934
 
1935
  task_id = item.get("task_id")
1936
  question_text = item.get("question")
1937
+ correct_answer = answer_sheet.get(task_id, "")
1938
 
1939
  # Look for file locally in files/ directory
1940
  local_file_path = None