Daniel Amendoeira commited on
Commit
6642e8b
·
verified ·
1 Parent(s): 6b96725

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
41
  # 2. Fetch Questions
42
  print(f"Fetching questions from: {questions_url}")
43
  try:
44
- response = requests.get(questions_url, timeout=60)
45
  response.raise_for_status()
46
  questions_data = response.json()
47
  if not questions_data:
 
41
  # 2. Fetch Questions
42
  print(f"Fetching questions from: {questions_url}")
43
  try:
44
+ response = requests.get(questions_url, timeout=15)
45
  response.raise_for_status()
46
  questions_data = response.json()
47
  if not questions_data: