Nancy1906 commited on
Commit
18d2418
·
verified ·
1 Parent(s): 8cb08fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -43,7 +43,8 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
43
  answers_payload = []
44
 
45
  total_questions = len(questions_data)
46
- for item in questions_data:
 
47
  task_id = item.get("task_id")
48
  question_text = item.get("question")
49
  if not task_id or question_text is None:
 
43
  answers_payload = []
44
 
45
  total_questions = len(questions_data)
46
+ #for item in questions_data:
47
+ for item_index, item in enumerate(questions_data):
48
  task_id = item.get("task_id")
49
  question_text = item.get("question")
50
  if not task_id or question_text is None: