Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 24 |
"""
|
| 25 |
return "What magic will you build ?"
|
| 26 |
# -- my tool
|
| 27 |
-
@tool
|
| 28 |
def get_image(img_description:str) -> Image.Image: #it's import to specify the return type
|
| 29 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 30 |
"""A tool that generate an image from a textual description
|
|
|
|
| 24 |
"""
|
| 25 |
return "What magic will you build ?"
|
| 26 |
# -- my tool
|
| 27 |
+
# @tool
|
| 28 |
def get_image(img_description:str) -> Image.Image: #it's import to specify the return type
|
| 29 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 30 |
"""A tool that generate an image from a textual description
|