Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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'])
|