caocaocoa commited on
Commit
fcaebde
·
1 Parent(s): 046ff37

Upload jubenchajian4_51.py

Browse files
Files changed (1) hide show
  1. jubenchajian4_51.py +3 -3
jubenchajian4_51.py CHANGED
@@ -17125,7 +17125,7 @@ mtt3 = ""
17125
 
17126
  def fttr(mode):
17127
  mode_dict = {
17128
- "黑白漫画模式": "(((Black and white Monochrome comic page content))),(Black hair)",
17129
  "彩色动画模式": "(( Animated Movies ))",
17130
  "插画模式": "(masterpiece, best quality)",
17131
  "电影模式": "(Cinematic shot, cinematic texture)",
@@ -17150,12 +17150,12 @@ def dada(string, keywords=["boy", "girl", "man", "woman", "child", "adult", "eld
17150
  for s in keywords:
17151
  count += string.lower().count(s.lower())
17152
  if count > 0:
17153
- return f"({count} people ){string}"
17154
  else:
17155
  return string
17156
 
17157
  def aaaaq(string):
17158
- pattern = r'\(\s*1\s+people\s*\)'
17159
  result = re.sub(pattern, '', string)
17160
  return result.strip()
17161
 
 
17125
 
17126
  def fttr(mode):
17127
  mode_dict = {
17128
+ "黑白漫画模式": "(((Black and white Monochrome comic page content))),()",
17129
  "彩色动画模式": "(( Animated Movies ))",
17130
  "插画模式": "(masterpiece, best quality)",
17131
  "电影模式": "(Cinematic shot, cinematic texture)",
 
17150
  for s in keywords:
17151
  count += string.lower().count(s.lower())
17152
  if count > 0:
17153
+ return f"({count} ){string}"
17154
  else:
17155
  return string
17156
 
17157
  def aaaaq(string):
17158
+ pattern = r'\(\s*1\s+\s*\)'
17159
  result = re.sub(pattern, '', string)
17160
  return result.strip()
17161