david-thrower commited on
Commit
bf3fc45
·
1 Parent(s): 22e9595

Increase timeout setting for query searches.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -292,7 +292,7 @@ def process_job_description(company_name, company_url, job_description, resume):
292
  "recent_news": f"{role.company_name} recent news relevant to {role.job_title} role",
293
  "competitive_advantages": f"{role.company_name} competitive advantages in {role.job_title} market"
294
  }
295
- search_client = DDGS()
296
  search_results = {}
297
  for key, query in searches.items():
298
  print(f"searching {query}")
 
292
  "recent_news": f"{role.company_name} recent news relevant to {role.job_title} role",
293
  "competitive_advantages": f"{role.company_name} competitive advantages in {role.job_title} market"
294
  }
295
+ search_client = DDGS(timeout=35)
296
  search_results = {}
297
  for key, query in searches.items():
298
  print(f"searching {query}")