Spaces:
Running
Running
Commit
•
59320f6
1
Parent(s):
ae53bf1
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def check_nsfw(json_data, profile):
|
|
27 |
if json_data["nsfw"]:
|
28 |
return False
|
29 |
print(profile)
|
30 |
-
if(profile.
|
31 |
return True
|
32 |
for model_version in json_data["modelVersions"]:
|
33 |
for image in model_version["images"]:
|
|
|
27 |
if json_data["nsfw"]:
|
28 |
return False
|
29 |
print(profile)
|
30 |
+
if(profile.username in TRUSTED_UPLOADERS):
|
31 |
return True
|
32 |
for model_version in json_data["modelVersions"]:
|
33 |
for image in model_version["images"]:
|