Abbasid commited on
Commit
05c1e76
·
verified ·
1 Parent(s): 997966e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -177,10 +177,10 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
177
  # 2. Fetch Questions
178
  print(f"Fetching questions from: {questions_url}")
179
  try:
180
- response = requests.get(questions_url, timeout=20)
181
- response.raise_for_status()
182
- questions_data = response.json()
183
- print(f"Fetched {len(questions_data)} questions.")
184
 
185
  # DEBUG: Print format of each question
186
  print("\n=== QUESTION FORMATS DEBUG ===")
 
177
  # 2. Fetch Questions
178
  print(f"Fetching questions from: {questions_url}")
179
  try:
180
+ response = requests.get(questions_url, timeout=20)
181
+ response.raise_for_status()
182
+ questions_data = response.json()
183
+ print(f"Fetched {len(questions_data)} questions.")
184
 
185
  # DEBUG: Print format of each question
186
  print("\n=== QUESTION FORMATS DEBUG ===")