multimodalart HF staff commited on
Commit
59320f6
1 Parent(s): ae53bf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.preferred_username in TRUSTED_UPLOADERS):
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"]: