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