pabloce commited on
Commit
1ebf40b
·
verified ·
1 Parent(s): bb9e162

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def search_web(search_query: str):
79
  Args:
80
  search_query (str): Search query to search for.
81
  """
82
- results = DDGS().text(search_query, region='wt-wt', safesearch='off', timelimit='y', max_results=3)
83
  result_string = ''
84
  for res in results:
85
  web_info = get_website_content_from_url(res['href'])
 
79
  Args:
80
  search_query (str): Search query to search for.
81
  """
82
+ results = DDGS().text(search_query, region='wt-wt', safesearch='off', timelimit='y', max_results=1)
83
  result_string = ''
84
  for res in results:
85
  web_info = get_website_content_from_url(res['href'])