Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def search_results(search_query: str) -> dict:
|
|
| 39 |
- list: A list of dictionaries, where each dictionary represents a search result. Each dictionary includes 'snippet' of the page and the 'link' with the url linking to it.
|
| 40 |
"""
|
| 41 |
search = DuckDuckGoSearchResults(max_results=10)
|
| 42 |
-
results = search.
|
| 43 |
|
| 44 |
return results
|
| 45 |
|
|
|
|
| 39 |
- list: A list of dictionaries, where each dictionary represents a search result. Each dictionary includes 'snippet' of the page and the 'link' with the url linking to it.
|
| 40 |
"""
|
| 41 |
search = DuckDuckGoSearchResults(max_results=10)
|
| 42 |
+
results = search.run(search_query)
|
| 43 |
|
| 44 |
return results
|
| 45 |
|