Geek7 commited on
Commit
4d55109
·
verified ·
1 Parent(s): 3a8d43f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -12
app.py CHANGED
@@ -28,18 +28,9 @@ def home():
28
  def is_prompt_explicit(prompt):
29
  # Streamlined keyword list to avoid unnecessary restrictions
30
  explicit_keywords = [
31
- "sexual", "sex", "boobs", "boob", "breasts", "cleavage", "penis", "phallus", "porn", "pornography", "hentai",
32
- "fetish", "nude", "nudity", "provocative", "obscene", "vulgar", "intimate", "kinky", "hardcore",
33
- "threesome", "orgy", "masturbation", "masturbate", "genital", "genitals", "vagina", "vaginal",
34
- "anus", "anal", "butt", "buttocks", "butthole", "ass", "prostate", "erection", "cum", "ejaculation",
35
- "sperm", "semen", "naked", "bare", "lingerie", "thong", "striptease", "stripper",
36
- "seductive", "sensual", "explicit", "lewd", "taboo", "NSFW", "bdsm", "dominatrix", "submission",
37
- "intercourse", "penetration", "orgasm", "fuck", "fucking", "fuckers", "fucker", "slut", "whore",
38
- "prostitute", "hooker", "escort", "camgirl", "camwhore", "sugar daddy", "sugar baby", "adult content",
39
- "sexually explicit", "arousal", "lust", "depraved", "hardcore porn", "softcore", "erotic", "erotica",
40
- "roleplay", "incest", "taboo", "voyeur", "exhibitionist", "peeping", "dildo", "sex toy", "vibrator",
41
- "suicide", "self-harm", "depression", "kill myself", "worthless", "abuse", "violence", "rape",
42
- "sexual violence", "molestation", "pedophilia", "child porn", "underage", "illegal content"
43
  ]
44
  for keyword in explicit_keywords:
45
  if keyword.lower() in prompt.lower():
 
28
  def is_prompt_explicit(prompt):
29
  # Streamlined keyword list to avoid unnecessary restrictions
30
  explicit_keywords = [
31
+ "sexual","boobs","boob","penis","porn", "hentai", "fetish", "nude", "provocative", "obscene", "vulgar", "intimate", "kinky", "hardcore",
32
+ "threesome", "orgy", "masturbation", "genital", "suicide",
33
+ "self-harm", "depression", "kill myself", "worthless","vagina","intercourse","fuck","fucking","fuckers","fucker"
 
 
 
 
 
 
 
 
 
34
  ]
35
  for keyword in explicit_keywords:
36
  if keyword.lower() in prompt.lower():