Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ logger = logging.getLogger(__name__)
|
|
8 |
|
9 |
# Initialize the SearxNG search wrapper
|
10 |
# You can replace this URL with any SearXNG instance you prefer
|
11 |
-
searx = SearxSearchWrapper(searx_host="http://
|
12 |
|
13 |
def search_news(query, num_results=5):
|
14 |
try:
|
|
|
8 |
|
9 |
# Initialize the SearxNG search wrapper
|
10 |
# You can replace this URL with any SearXNG instance you prefer
|
11 |
+
searx = SearxSearchWrapper(searx_host="http://localhost:8888")
|
12 |
|
13 |
def search_news(query, num_results=5):
|
14 |
try:
|