Luong Huu Thanh commited on
Commit
6601ddf
Β·
1 Parent(s): db0c4bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,7 +105,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
105
  "Submitted Answer": submitted_answer,
106
  }
107
  )
108
- # time.sleep(10)
109
  except Exception as e:
110
  print(f"Error running agent on task {task_id}: {e}")
111
  results_log.append(
@@ -115,7 +115,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
115
  "Submitted Answer": f"AGENT ERROR: {e}",
116
  }
117
  )
118
- # time.sleep(10)
119
 
120
  if not answers_payload:
121
  print("Agent did not produce any answers to submit.")
 
105
  "Submitted Answer": submitted_answer,
106
  }
107
  )
108
+ time.sleep(10)
109
  except Exception as e:
110
  print(f"Error running agent on task {task_id}: {e}")
111
  results_log.append(
 
115
  "Submitted Answer": f"AGENT ERROR: {e}",
116
  }
117
  )
118
+ time.sleep(10)
119
 
120
  if not answers_payload:
121
  print("Agent did not produce any answers to submit.")