Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def search_duckduckgo(topic : str)-> list:
|
|
33 |
A list of dictionaries, where each dictionary represents a search result
|
34 |
and contains keys like 'title', 'href', and 'body'.
|
35 |
"""
|
36 |
-
results = DDGS().text(topic, max_results=
|
37 |
return results
|
38 |
|
39 |
|
|
|
33 |
A list of dictionaries, where each dictionary represents a search result
|
34 |
and contains keys like 'title', 'href', and 'body'.
|
35 |
"""
|
36 |
+
results = DDGS().text(topic, max_results=3)
|
37 |
return results
|
38 |
|
39 |
|