Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,13 +20,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
20 |
return "What magic will you build ?"
|
21 |
|
22 |
@tool
|
23 |
-
def get_datetime_format(country_code:
|
24 |
-
"""
|
25 |
-
Get the datetime format string for a specific country.
|
26 |
Args:
|
27 |
country_code: Two-letter country code (e.g., 'US', 'FR')
|
28 |
-
Returns:
|
29 |
-
Format string for the specified country
|
30 |
"""
|
31 |
match country_code.upper():
|
32 |
# European formats
|
|
|
20 |
return "What magic will you build ?"
|
21 |
|
22 |
@tool
|
23 |
+
def get_datetime_format(country_code:str)-> str:
|
24 |
+
"""Get the datetime format string for a specific country.
|
|
|
25 |
Args:
|
26 |
country_code: Two-letter country code (e.g., 'US', 'FR')
|
|
|
|
|
27 |
"""
|
28 |
match country_code.upper():
|
29 |
# European formats
|