alfredplpl commited on
Commit
c137dca
1 Parent(s): 7e60999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -81,6 +81,7 @@ def auto_prompt_correction(prompt_ui,neg_prompt_ui,disable_auto_prompt_correctio
81
  return prompt, neg_prompt
82
 
83
  splited_prompt=prompt.replace(","," ").replace("_"," ").split(" ")
 
84
  for word in human_words:
85
  if( word in splited_prompt):
86
  prompt=f"anime, masterpiece, {prompt}, good pupil, 4k, detailed"
 
81
  return prompt, neg_prompt
82
 
83
  splited_prompt=prompt.replace(","," ").replace("_"," ").split(" ")
84
+ human_words=["girl","maid","maids","female","woman","girls","a couple of girls","women","boy","boys","a couple of boys","male","man","men","guy","guys"]
85
  for word in human_words:
86
  if( word in splited_prompt):
87
  prompt=f"anime, masterpiece, {prompt}, good pupil, 4k, detailed"