Update app.py
Browse files
app.py
CHANGED
|
@@ -49,10 +49,7 @@ custom_role_conversions=None,
|
|
| 49 |
# Import tool from Hub
|
| 50 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 51 |
|
| 52 |
-
test_image = image_generation_tool(
|
| 53 |
-
"A high-res, photorealistic image of Dolly Parton performing on stage with a guitar"
|
| 54 |
-
)
|
| 55 |
-
|
| 56 |
print("TYPE:", type(test_image))
|
| 57 |
print("SIZE:", test_image.size)
|
| 58 |
|
|
|
|
| 49 |
# Import tool from Hub
|
| 50 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 51 |
|
| 52 |
+
test_image = image_generation_tool("A picture of Dolly Parton")
|
|
|
|
|
|
|
|
|
|
| 53 |
print("TYPE:", type(test_image))
|
| 54 |
print("SIZE:", test_image.size)
|
| 55 |
|