Shreyas094
commited on
Commit
•
7b7085f
1
Parent(s):
84a4885
Update app.py
Browse files
app.py
CHANGED
@@ -366,7 +366,7 @@ def search_and_scrape(query, chat_history, num_results=5, scraper="trafilatura",
|
|
366 |
logger.warning("No results returned from SearXNG.")
|
367 |
return "No results found for the given query."
|
368 |
|
369 |
-
|
370 |
|
371 |
for result in search_results.get('results', [])[:num_results]:
|
372 |
url = result.get('url', '')
|
|
|
366 |
logger.warning("No results returned from SearXNG.")
|
367 |
return "No results found for the given query."
|
368 |
|
369 |
+
scraped_content = []
|
370 |
|
371 |
for result in search_results.get('results', [])[:num_results]:
|
372 |
url = result.get('url', '')
|