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