Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ NUM_IMAGES_PER_PROMPT = 1
|
|
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
|
38 |
)
|
39 |
|
|
|
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|young|new[\s_\-|\.\,]*born[\s_\-|\.\,]*(boy|girl|male|man|bro|brother|sis|sister))',
|
37 |
re.IGNORECASE
|
38 |
)
|
39 |
|