Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 18 |
return "What magic will you build ?"
|
| 19 |
|
| 20 |
@tool
|
| 21 |
-
def generate_image_prompt(prompt:str)->
|
| 22 |
"""Generates an image based on the provided prompt using the image generation tool.
|
| 23 |
Args:
|
| 24 |
prompt: A textual description for the image to be generated.
|
|
|
|
| 18 |
return "What magic will you build ?"
|
| 19 |
|
| 20 |
@tool
|
| 21 |
+
def generate_image_prompt(prompt:str)-> str:
|
| 22 |
"""Generates an image based on the provided prompt using the image generation tool.
|
| 23 |
Args:
|
| 24 |
prompt: A textual description for the image to be generated.
|