aifeifei798 commited on
Commit
60b5a84
·
verified ·
1 Parent(s): 8db78fc

Update feifeilib/feifeiprompt.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeiprompt.py +8 -8
feifeilib/feifeiprompt.py CHANGED
@@ -35,17 +35,17 @@ def feifeiprompt(randomize_seed,seed,prompt,quality_select,styles_Radio,FooocusE
35
  if quality_select:
36
  prompt += ", masterpiece, best quality, very aesthetic, absurdres"
37
 
38
-
39
- if styles_Radio:
40
- for style_name in styles_Radio:
41
- for style in config.style_list:
42
- if style["name"] == style_name:
43
- prompt += style["prompt"].replace("{prompt}", "the ")
44
-
45
  if FooocusExpansion_select:
46
  prompt = re.sub("girl", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
47
  prompt = re.sub("young woman", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
48
  prompt = re.sub("woman", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
49
  prompt = re.sub("model", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
50
-
 
 
 
 
 
 
 
51
  return prompt,generator
 
35
  if quality_select:
36
  prompt += ", masterpiece, best quality, very aesthetic, absurdres"
37
 
 
 
 
 
 
 
 
38
  if FooocusExpansion_select:
39
  prompt = re.sub("girl", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
40
  prompt = re.sub("young woman", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
41
  prompt = re.sub("woman", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
42
  prompt = re.sub("model", " feifei, A beautiful, 18 yo kpop idol, large-busted Japanese girl, with light makeup, gazing deeply into the camera, " ,prompt)
43
+
44
+ if styles_Radio:
45
+ for style_name in styles_Radio:
46
+ for style in config.style_list:
47
+ if style["name"] == style_name:
48
+ prompt += style["prompt"].replace("{prompt}", prompt)
49
+
50
+
51
  return prompt,generator