Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 35 |
except Exception as e:
|
| 36 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 37 |
|
| 38 |
-
@
|
| 39 |
def password_generator_tool(length: int) -> str:
|
| 40 |
"""
|
| 41 |
Generate a secure password with uppercase, lowercase, numbers, and symbols.
|
|
|
|
| 35 |
except Exception as e:
|
| 36 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 37 |
|
| 38 |
+
@tool
|
| 39 |
def password_generator_tool(length: int) -> str:
|
| 40 |
"""
|
| 41 |
Generate a secure password with uppercase, lowercase, numbers, and symbols.
|