Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def property_search_tool(property_type:str, location:str, price:int)-> str: #it'
|
|
| 21 |
property_list = DuckDuckGoSearchTool.forward("{property_type} at {location}")
|
| 22 |
return "What magic will you build ?"
|
| 23 |
except Exception as e:
|
| 24 |
-
return f"Error fetching property located at '{location}' at a price of '{property_type}' : {str(e)}
|
| 25 |
|
| 26 |
@tool
|
| 27 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 21 |
property_list = DuckDuckGoSearchTool.forward("{property_type} at {location}")
|
| 22 |
return "What magic will you build ?"
|
| 23 |
except Exception as e:
|
| 24 |
+
return f"Error fetching property located at '{location}' at a price of '{property_type}' : {str(e)}"
|
| 25 |
|
| 26 |
@tool
|
| 27 |
def get_current_time_in_timezone(timezone: str) -> str:
|