mkshing commited on
Commit
da5331f
1 Parent(s): 366401e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def generate(
98
  images, has_nsfw_concepts = check_nsfw_images(images)
99
  if any(has_nsfw_concepts):
100
  gr.Warning("NSFW content detected.")
101
- return Image.new("RGB", (512, 512)), seed
102
  return images[0], seed
103
 
104
 
 
98
  images, has_nsfw_concepts = check_nsfw_images(images)
99
  if any(has_nsfw_concepts):
100
  gr.Warning("NSFW content detected.")
101
+ return Image.new("RGB", (512, 512), "WHITE"), seed
102
  return images[0], seed
103
 
104