Spaces:
Running on Zero
Running on Zero
Switch to ddgs package
Browse files
app.py
CHANGED
|
@@ -209,7 +209,7 @@ def _get_runtime_specs():
|
|
| 209 |
# ---------------------------------------------------------------------------
|
| 210 |
|
| 211 |
try:
|
| 212 |
-
from
|
| 213 |
|
| 214 |
def _search_web(query, max_results=10):
|
| 215 |
"""Search the web via DuckDuckGo."""
|
|
|
|
| 209 |
# ---------------------------------------------------------------------------
|
| 210 |
|
| 211 |
try:
|
| 212 |
+
from ddgs import DDGS
|
| 213 |
|
| 214 |
def _search_web(query, max_results=10):
|
| 215 |
"""Search the web via DuckDuckGo."""
|