Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixed issue with ""
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def SearchWebTool(query:str)-> list: #it's import to specify the return type
|
|
| 35 |
for r in results:
|
| 36 |
formatted_Results.append({
|
| 37 |
"title": r.get("title", ""),
|
| 38 |
-
"url": r.get("link, ""),
|
| 39 |
"snippet":r.get("snippet", "")
|
| 40 |
})
|
| 41 |
return 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", "")
|
| 40 |
})
|
| 41 |
return formatted_results
|