nikhmr1235 commited on
Commit
1e16f7b
·
verified ·
1 Parent(s): f02a476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -277,13 +277,13 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
277
  if file_name:
278
  attachment_url = f"https://agents-course-unit4-scoring.hf.space/files/{task_id}"
279
  full_question_for_agent += f"\n\nAttachment '{file_name}' available at EXACT URL: {attachment_url}"
280
- #print(f"Running agent on task {task_id}: {full_question_for_agent}",flush=True)
281
 
282
- '''
283
- if task_id != "cca530fc-4052-43b2-b130-b30968d8aa44":
284
  print("NFLUSH Skip tasks that are not the specific one we want to run", flush=True)
285
  continue # Skip tasks that are not the specific one we want to run
286
- '''
287
  try:
288
  time.sleep(61) # Add a 1 min delay before running the agent
289
  submitted_answer = agent(full_question_for_agent)
 
277
  if file_name:
278
  attachment_url = f"https://agents-course-unit4-scoring.hf.space/files/{task_id}"
279
  full_question_for_agent += f"\n\nAttachment '{file_name}' available at EXACT URL: {attachment_url}"
280
+ print(f"Running agent on task {task_id}: {full_question_for_agent}",flush=True)
281
 
282
+
283
+ if task_id != "7bd855d8-463d-4ed5-93ca-5fe35145f733":
284
  print("NFLUSH Skip tasks that are not the specific one we want to run", flush=True)
285
  continue # Skip tasks that are not the specific one we want to run
286
+
287
  try:
288
  time.sleep(61) # Add a 1 min delay before running the agent
289
  submitted_answer = agent(full_question_for_agent)