Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,6 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 33 |
except Exception as e:
|
| 34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 35 |
|
| 36 |
-
|
| 37 |
@tool
|
| 38 |
def get_property(location: str) -> str:
|
| 39 |
"""
|
|
@@ -45,8 +44,7 @@ def get_property(location: str) -> str:
|
|
| 45 |
return f"property at {location} is: {search}"
|
| 46 |
except Exception as e:
|
| 47 |
return f"error fetching results for location '{location}': {str(e)}"
|
| 48 |
-
|
| 49 |
-
|
| 50 |
final_answer = FinalAnswerTool()
|
| 51 |
|
| 52 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
|
|
|
| 33 |
except Exception as e:
|
| 34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 35 |
|
|
|
|
| 36 |
@tool
|
| 37 |
def get_property(location: str) -> str:
|
| 38 |
"""
|
|
|
|
| 44 |
return f"property at {location} is: {search}"
|
| 45 |
except Exception as e:
|
| 46 |
return f"error fetching results for location '{location}': {str(e)}"
|
| 47 |
+
|
|
|
|
| 48 |
final_answer = FinalAnswerTool()
|
| 49 |
|
| 50 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|