Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ custom_role_conversions=None,
|
|
| 52 |
# @tool
|
| 53 |
# image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 54 |
@tool
|
| 55 |
-
def generate_image_from_text(prompt: str):
|
| 56 |
"""Generates and displays an image based on the given text prompt.
|
| 57 |
|
| 58 |
Args:
|
|
|
|
| 52 |
# @tool
|
| 53 |
# image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 54 |
@tool
|
| 55 |
+
def generate_image_from_text(prompt: str)-> None:
|
| 56 |
"""Generates and displays an image based on the given text prompt.
|
| 57 |
|
| 58 |
Args:
|