Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def animal_image_generation_tool(animal_name: str) -> str:
|
|
38 |
|
39 |
# generates an image based on the description of an animal.
|
40 |
image_urls = image_generation_tool()
|
41 |
-
image_url.run = f"Create a realistic image of a {animal_name}"
|
42 |
image_url = image_urls(image_url.run)
|
43 |
|
44 |
return f"Image {animal_name} successfully generated: {image_url}"
|
|
|
38 |
|
39 |
# generates an image based on the description of an animal.
|
40 |
image_urls = image_generation_tool()
|
41 |
+
image_url.run = (promt=f"Create a realistic image of a {animal_name}")
|
42 |
image_url = image_urls(image_url.run)
|
43 |
|
44 |
return f"Image {animal_name} successfully generated: {image_url}"
|