Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def search_web(search_query: str):
|
|
74 |
Args:
|
75 |
search_query (str): Search query to search for.
|
76 |
"""
|
77 |
-
results = DDGS().text(search_query, region='wt-wt', safesearch='off', timelimit='y', max_results=
|
78 |
result_string = ''
|
79 |
for res in results:
|
80 |
web_info = get_website_content_from_url(res['href'])
|
|
|
74 |
Args:
|
75 |
search_query (str): Search query to search for.
|
76 |
"""
|
77 |
+
results = DDGS().text(search_query, region='wt-wt', safesearch='off', timelimit='y', max_results=3)
|
78 |
result_string = ''
|
79 |
for res in results:
|
80 |
web_info = get_website_content_from_url(res['href'])
|