Spaces:
Build error
Build error
Commit ·
922f087
1
Parent(s): 6d113c1
Extended the tool description
Browse files- .gitignore +6 -1
- tool.py +2 -2
.gitignore
CHANGED
|
@@ -1,2 +1,7 @@
|
|
| 1 |
|
| 2 |
-
.codegpt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
+
.codegpt
|
| 3 |
+
pyproject.toml
|
| 4 |
+
.python-version
|
| 5 |
+
uv.lock
|
| 6 |
+
.gradio
|
| 7 |
+
__pycache__
|
tool.py
CHANGED
|
@@ -7,8 +7,8 @@ class TimeZoneConversionTool(Tool):
|
|
| 7 |
description = "Converts time between two time zones."
|
| 8 |
inputs = {
|
| 9 |
"time": {"type": "string", "description": "Time in 'YYYY-MM-DD HH:MM' format"},
|
| 10 |
-
"from_timezone": {"type": "string", "description": "Original time zone"},
|
| 11 |
-
"to_timezone": {"type": "string", "description": "Target time zone"}
|
| 12 |
}
|
| 13 |
output_type = "string"
|
| 14 |
|
|
|
|
| 7 |
description = "Converts time between two time zones."
|
| 8 |
inputs = {
|
| 9 |
"time": {"type": "string", "description": "Time in 'YYYY-MM-DD HH:MM' format"},
|
| 10 |
+
"from_timezone": {"type": "string", "description": "Original time zone (e.g., 'Africa/Kinshasa', 'Europe/Zurich')"},
|
| 11 |
+
"to_timezone": {"type": "string", "description": "Target time zone (e.g., 'UTC', 'America/New_York')"}
|
| 12 |
}
|
| 13 |
output_type = "string"
|
| 14 |
|