Shreyas094
commited on
Commit
•
a38a0b8
1
Parent(s):
de7d78c
Update app.py
Browse files
app.py
CHANGED
@@ -84,8 +84,7 @@ def duckduckgo_search(query, num_results=10, time_range="", language="", safesea
|
|
84 |
region='wt-wt',
|
85 |
safesearch=safesearch_setting,
|
86 |
timelimit=timelimit,
|
87 |
-
max_results=num_results
|
88 |
-
backend: str = "html"
|
89 |
)
|
90 |
|
91 |
return [{"url": result["href"], "title": result["title"]} for result in results]
|
|
|
84 |
region='wt-wt',
|
85 |
safesearch=safesearch_setting,
|
86 |
timelimit=timelimit,
|
87 |
+
max_results=num_results
|
|
|
88 |
)
|
89 |
|
90 |
return [{"url": result["href"], "title": result["title"]} for result in results]
|