Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def web_search(query: str) -> str:
|
|
| 78 |
|
| 79 |
# If search_results is a list, extract the first relevant result
|
| 80 |
if isinstance(search_results, list) and len(search_results) > 0:
|
| 81 |
-
return {search_results[0]}
|
| 82 |
|
| 83 |
return f"Could not find {query}. Please try again."
|
| 84 |
|
|
|
|
| 78 |
|
| 79 |
# If search_results is a list, extract the first relevant result
|
| 80 |
if isinstance(search_results, list) and len(search_results) > 0:
|
| 81 |
+
return {search_results[0]}
|
| 82 |
|
| 83 |
return f"Could not find {query}. Please try again."
|
| 84 |
|