Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def web_search(query: str) -> str:
|
|
| 26 |
results = search_tool.forward(query)
|
| 27 |
|
| 28 |
# Return the formatted results
|
| 29 |
-
return results
|
| 30 |
|
| 31 |
except Exception as e:
|
| 32 |
return f"Error performing web search: {str(e)}"
|
|
|
|
| 26 |
results = search_tool.forward(query)
|
| 27 |
|
| 28 |
# Return the formatted results
|
| 29 |
+
return f"results"
|
| 30 |
|
| 31 |
except Exception as e:
|
| 32 |
return f"Error performing web search: {str(e)}"
|