Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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
|