Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from Gradio_UI import GradioUI
|
|
11 |
|
12 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
13 |
@tool
|
14 |
-
def get_new_moon_dates(year:
|
15 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
16 |
"""Retrieves the dates of new moons for a given year using the USNO API.
|
17 |
Args:
|
|
|
11 |
|
12 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
13 |
@tool
|
14 |
+
def get_new_moon_dates(year:int)-> str: #it's import to specify the return type
|
15 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
16 |
"""Retrieves the dates of new moons for a given year using the USNO API.
|
17 |
Args:
|