Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,7 +172,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 172 |
question_text = item.get("question")
|
| 173 |
submitted_answer = None
|
| 174 |
|
| 175 |
-
task_answer_path = os.path.join(
|
| 176 |
if os.path.exists(task_answer_path):
|
| 177 |
print(f"Found existing answer for task {task_id}, loading")
|
| 178 |
with open(task_answer_path, 'r') as stream:
|
|
|
|
| 172 |
question_text = item.get("question")
|
| 173 |
submitted_answer = None
|
| 174 |
|
| 175 |
+
task_answer_path = os.path.join(answers_dir, task_id + '.yaml')
|
| 176 |
if os.path.exists(task_answer_path):
|
| 177 |
print(f"Found existing answer for task {task_id}, loading")
|
| 178 |
with open(task_answer_path, 'r') as stream:
|