Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixes issue with ) on line 36
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def SearchWebTool(query:str)-> list: #it's import to specify the return type
|
|
| 33 |
#ensure consistent output format
|
| 34 |
formatted_results = []
|
| 35 |
for r in results:
|
| 36 |
-
formatted_Results.append
|
| 37 |
"title": r.get("title", ""),
|
| 38 |
"url": r.get("link, ""),
|
| 39 |
"snippet":r.get("snippet", "")
|
|
|
|
| 33 |
#ensure consistent output format
|
| 34 |
formatted_results = []
|
| 35 |
for r in results:
|
| 36 |
+
formatted_Results.append({
|
| 37 |
"title": r.get("title", ""),
|
| 38 |
"url": r.get("link, ""),
|
| 39 |
"snippet":r.get("snippet", "")
|