George Sergia commited on
Commit
39bcd4d
·
1 Parent(s): af10fd2

Increase fetching timeout

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