Shreyas094
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -476,7 +476,7 @@ def search_and_scrape(query, chat_history, num_results=5, max_chars=3000, time_r
|
|
476 |
logger.warning(f"No more results returned from SearXNG on page {page}.")
|
477 |
break
|
478 |
|
479 |
-
|
480 |
if len(scraped_content) >= num_results:
|
481 |
break
|
482 |
|
|
|
476 |
logger.warning(f"No more results returned from SearXNG on page {page}.")
|
477 |
break
|
478 |
|
479 |
+
for result in results:
|
480 |
if len(scraped_content) >= num_results:
|
481 |
break
|
482 |
|