Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|