RozzaCreat commited on
Commit
b03bc53
·
verified ·
1 Parent(s): cbb8f5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def generate_darwin_coloring_page(theme: str) -> str:
12
  A generated image URL.
13
  """
14
  try:
15
- image_generation_tool = load_tool("black-forest-labs/FLUX.1-schnell", trust_remote_code=True)
16
  image = image_generation_tool(theme)
17
  return image
18
  except Exception as e:
 
12
  A generated image URL.
13
  """
14
  try:
15
+ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
16
  image = image_generation_tool(theme)
17
  return image
18
  except Exception as e: