Spaces:
Sleeping
Sleeping
randomtable
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def generate_image(prompt, ckpt):
|
|
65 |
images, has_nsfw_concepts = check_nsfw_images(results.images)
|
66 |
if any(has_nsfw_concepts):
|
67 |
gr.Warning("NSFW content detected.")
|
68 |
-
return
|
69 |
return images[0]
|
70 |
return results.images[0]
|
71 |
|
|
|
65 |
images, has_nsfw_concepts = check_nsfw_images(results.images)
|
66 |
if any(has_nsfw_concepts):
|
67 |
gr.Warning("NSFW content detected.")
|
68 |
+
return images[0]
|
69 |
return images[0]
|
70 |
return results.images[0]
|
71 |
|