petrov826 commited on
Commit
092ce6a
·
verified ·
1 Parent(s): 574399d

fix wrong method name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
97
  answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
98
  results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": submitted_answer})
99
 
100
- if call_counter.get_total_count() >= 10:
101
  time.sleep(60)
102
  call_counter.reset()
103
  except Exception as e:
 
97
  answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
98
  results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": submitted_answer})
99
 
100
+ if call_counter.get_total_calls() >= 10:
101
  time.sleep(60)
102
  call_counter.reset()
103
  except Exception as e: