luke9705 commited on
Commit
5053e3f
·
verified ·
1 Parent(s): 3f79364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ def generate_image(prompt: str, neg_prompt: str) -> Image.Image:
95
  """
96
  Generate an image based on a text prompt using Flux Dev.
97
  Args:
98
- prompt (str): The text prompt to generate the image from.
99
- neg_prompt (str): The negative prompt to avoid certain elements in the image.
100
  Returns:
101
  Image.Image: The generated image as a PIL Image object.
102
  """
 
95
  """
96
  Generate an image based on a text prompt using Flux Dev.
97
  Args:
98
+ prompt: The text prompt to generate the image from.
99
+ neg_prompt: The negative prompt to avoid certain elements in the image.
100
  Returns:
101
  Image.Image: The generated image as a PIL Image object.
102
  """