Neil-YL commited on
Commit
2c038b4
·
verified ·
1 Parent(s): ebaaeb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -337,7 +337,7 @@ def add_to_queue(student_id, R, Y, B):
337
  # NOTE: Wait until the task's status becomes 'processing'
338
  # This ensures we only yield "Running" when the backend actually starts the job.
339
  while tasks_dict[(student_id, experiment_id)]["status"] == "queued":
340
- time.sleep(15)
341
 
342
  # Second yield: "Running" (happens only after status is 'processing')
343
  yield {
 
337
  # NOTE: Wait until the task's status becomes 'processing'
338
  # This ensures we only yield "Running" when the backend actually starts the job.
339
  while tasks_dict[(student_id, experiment_id)]["status"] == "queued":
340
+ time.sleep(20)
341
 
342
  # Second yield: "Running" (happens only after status is 'processing')
343
  yield {