pulkitme commited on
Commit
bab0567
·
1 Parent(s): 8d8d1d1

simple smolagent with duck duck go search tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
74
  # 2. Fetch Questions
75
  print(f"Fetching questions from: {questions_url}")
76
  try:
77
- response = requests.get(questions_url, timeout=15)
78
  response.raise_for_status()
79
  questions_data = response.json()
80
  if not questions_data:
 
74
  # 2. Fetch Questions
75
  print(f"Fetching questions from: {questions_url}")
76
  try:
77
+ response = requests.get(questions_url, timeout=30)
78
  response.raise_for_status()
79
  questions_data = response.json()
80
  if not questions_data: