justinpinkney
commited on
Commit
•
8d6b2bf
1
Parent(s):
217632b
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def main(
|
|
21 |
)
|
22 |
|
23 |
images = []
|
24 |
-
for i, image in enumerate(images_list["
|
25 |
if(images_list["nsfw_content_detected"][i]):
|
26 |
safe_image = Image.open(r"unsafe.png")
|
27 |
images.append(safe_image)
|
|
|
21 |
)
|
22 |
|
23 |
images = []
|
24 |
+
for i, image in enumerate(images_list["images"]):
|
25 |
if(images_list["nsfw_content_detected"][i]):
|
26 |
safe_image = Image.open(r"unsafe.png")
|
27 |
images.append(safe_image)
|