at1300 commited on
Commit
f362041
·
verified ·
1 Parent(s): 7c9f052

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(cache_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:
 
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: