GattoNero commited on
Commit
c107ea1
·
verified ·
1 Parent(s): cf762a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -778,7 +778,9 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
778
  else:
779
  print("[INFO] Fetching questions...")
780
  response = requests.get(questions_url, timeout=30)
 
781
  response.raise_for_status()
 
782
  total_questions = process_questions(response.json())
783
 
784
  questions_data = total_questions[:20]
@@ -800,7 +802,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
800
  continue
801
  try:
802
  file_name = item.get("file_name")
803
- answer = agent(question, file_name)
804
  answers_payload.append({
805
  "task_id": task_id,
806
  "submitted_answer": answer,
 
778
  else:
779
  print("[INFO] Fetching questions...")
780
  response = requests.get(questions_url, timeout=30)
781
+ print_coso(f"questions: {response}")
782
  response.raise_for_status()
783
+ print_coso(f"\n\n\n\questions.json: {response.json}")
784
  total_questions = process_questions(response.json())
785
 
786
  questions_data = total_questions[:20]
 
802
  continue
803
  try:
804
  file_name = item.get("file_name")
805
+ answer = "None"#agent(question, file_name)
806
  answers_payload.append({
807
  "task_id": task_id,
808
  "submitted_answer": answer,