FD900 commited on
Commit
290dcc5
·
verified ·
1 Parent(s): 2854f55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,11 +27,11 @@ def run_and_submit_all():
27
  answers.append(result)
28
  except Exception as e:
29
  answers.append({
30
- "task_id": task.get("question_id", "UNKNOWN"),
31
  "submitted_answer": f"ERROR: {str(e)}"
32
  })
33
 
34
- # Debug: check if answers are constructed correctly
35
  if not answers:
36
  return " No answers generated. Check model response."
37
 
 
27
  answers.append(result)
28
  except Exception as e:
29
  answers.append({
30
+ "question_id": task.get("question_id", "UNKNOWN"),
31
  "submitted_answer": f"ERROR: {str(e)}"
32
  })
33
 
34
+ # Debug
35
  if not answers:
36
  return " No answers generated. Check model response."
37