justinpinkney commited on
Commit
8d6b2bf
1 Parent(s): 217632b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def main(
21
  )
22
 
23
  images = []
24
- for i, image in enumerate(images_list["sample"]):
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)