alfredplpl
commited on
Commit
·
06bddd8
1
Parent(s):
b4f6a2f
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def auto_prompt_correction(prompt_ui,neg_prompt_ui,cool_japan_type_ui):
|
|
81 |
"hakurei reimu","kirisame marisa", "kaname madoka, megumin"]
|
82 |
prefix_index=random.randrange(len(prefix))
|
83 |
suffix_index=random.randrange(len(suffix))
|
84 |
-
prompt=f"{cool_japan_type}, {prefix[prefix_index]},
|
85 |
neg_prompt=f"(((deformed))), blurry, ((((bad anatomy)))), bad pupil, disfigured, poorly drawn face, mutation, mutated, (extra limb), (ugly), (poorly drawn hands), bad hands, fused fingers, messy drawing, broken legs censor, low quality, (mutated hands and fingers:1.5), (long body :1.3), (mutation, poorly drawn :1.2), ((bad eyes)), ui, error, missing fingers, fused fingers, one hand with more than 5 fingers, one hand with less than 5 fingers, one hand with more than 5 digit, one hand with less than 5 digit, extra digit, fewer digits, fused digit, missing digit, bad digit, liquid digit, long body, uncoordinated body, unnatural body, lowres, jpeg artifacts, 3d, cg, text"
|
86 |
return prompt, neg_prompt
|
87 |
|
|
|
81 |
"hakurei reimu","kirisame marisa", "kaname madoka, megumin"]
|
82 |
prefix_index=random.randrange(len(prefix))
|
83 |
suffix_index=random.randrange(len(suffix))
|
84 |
+
prompt=f"{cool_japan_type}, {prefix[prefix_index]}, portrait, a good girl, {suffix[suffix_index]}, good pupil, 4k, detailed"
|
85 |
neg_prompt=f"(((deformed))), blurry, ((((bad anatomy)))), bad pupil, disfigured, poorly drawn face, mutation, mutated, (extra limb), (ugly), (poorly drawn hands), bad hands, fused fingers, messy drawing, broken legs censor, low quality, (mutated hands and fingers:1.5), (long body :1.3), (mutation, poorly drawn :1.2), ((bad eyes)), ui, error, missing fingers, fused fingers, one hand with more than 5 fingers, one hand with less than 5 fingers, one hand with more than 5 digit, one hand with less than 5 digit, extra digit, fewer digits, fused digit, missing digit, bad digit, liquid digit, long body, uncoordinated body, unnatural body, lowres, jpeg artifacts, 3d, cg, text"
|
86 |
return prompt, neg_prompt
|
87 |
|