Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,9 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def image_generation_tool(prompt: str)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
-
"""A tool that generates an
|
| 15 |
Args:
|
| 16 |
prompt: A description of the image to generate
|
| 17 |
-
|
| 18 |
"""
|
| 19 |
return f"Generate an Image of {prompt}"
|
| 20 |
|
|
|
|
| 11 |
@tool
|
| 12 |
def image_generation_tool(prompt: str)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
+
"""A tool that generates an image based on a prompt
|
| 15 |
Args:
|
| 16 |
prompt: A description of the image to generate
|
|
|
|
| 17 |
"""
|
| 18 |
return f"Generate an Image of {prompt}"
|
| 19 |
|