nsfwalex commited on
Commit
ce3d0f5
1 Parent(s): 597fe43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
31
  NUM_IMAGES_PER_PROMPT = 1
32
  # Define the regular expression
33
  child_related_regex = re.compile(
34
- r'(child|children|kid|kids|baby|babies|toddler|infant|juvenile|minor|underage|preteen|adolescent|youngster|youth|young|kindergarten|preschool|'
35
  r'([1-9]|1[0-7])[\s_\-|\.\,]*year(s)?[\s_\-|\.\,]*old|' # Matches 1 to 17 years old with various separators
36
  r'little|small|tiny|short|new[\s_\-|\.\,]*born[\s_\-|\.\,]*(boy|girl|male|man|bro|brother|sis|sister))',
37
  re.IGNORECASE
 
31
  NUM_IMAGES_PER_PROMPT = 1
32
  # Define the regular expression
33
  child_related_regex = re.compile(
34
+ r'(child|children|kid|kids|baby|babies|toddler|infant|juvenile|minor|underage|preteen|adolescent|youngster|youth|son|daughter|young|kindergarten|preschool|'
35
  r'([1-9]|1[0-7])[\s_\-|\.\,]*year(s)?[\s_\-|\.\,]*old|' # Matches 1 to 17 years old with various separators
36
  r'little|small|tiny|short|new[\s_\-|\.\,]*born[\s_\-|\.\,]*(boy|girl|male|man|bro|brother|sis|sister))',
37
  re.IGNORECASE