Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ def check_nsfw(json_data, profile):
|
|
31 |
return True
|
32 |
for model_version in json_data["modelVersions"]:
|
33 |
for image in model_version["images"]:
|
|
|
34 |
if image["nsfw"] not in ["None", "Soft"]:
|
35 |
return False
|
36 |
return True
|
|
|
31 |
return True
|
32 |
for model_version in json_data["modelVersions"]:
|
33 |
for image in model_version["images"]:
|
34 |
+
print(image)
|
35 |
if image["nsfw"] not in ["None", "Soft"]:
|
36 |
return False
|
37 |
return True
|