Bobricha commited on
Commit
8a62192
·
verified ·
1 Parent(s): f476bb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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}"