Spaces:
Running
Running
Abid Ali Awan
commited on
Commit
·
be0c9e8
1
Parent(s):
e90303f
Update search parameters in get_city_news function to use advanced search depth
Browse files
app.py
CHANGED
|
@@ -71,8 +71,8 @@ def get_city_news(city_name):
|
|
| 71 |
# Perform the search
|
| 72 |
response = client.search(
|
| 73 |
query=search_query,
|
| 74 |
-
search_depth="
|
| 75 |
-
max_results=5,
|
| 76 |
)
|
| 77 |
|
| 78 |
# Extract relevant information from search results
|
|
|
|
| 71 |
# Perform the search
|
| 72 |
response = client.search(
|
| 73 |
query=search_query,
|
| 74 |
+
search_depth="advanced",
|
| 75 |
+
max_results=5,
|
| 76 |
)
|
| 77 |
|
| 78 |
# Extract relevant information from search results
|