prozorov commited on
Commit
0549f38
·
verified ·
1 Parent(s): 065a360

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
59
  try:
60
  response = requests.get(questions_url, timeout=15)
61
  response.raise_for_status()
62
- questions_data = response.json()[:1]
63
  if not questions_data:
64
  print("Fetched questions list is empty.")
65
  return "Fetched questions list is empty or invalid format.", None
 
59
  try:
60
  response = requests.get(questions_url, timeout=15)
61
  response.raise_for_status()
62
+ questions_data = response.json()
63
  if not questions_data:
64
  print("Fetched questions list is empty.")
65
  return "Fetched questions list is empty or invalid format.", None