add config (#619)

* add config

* add config

* add config

* add config

* add config

* add config

* add config

* add config
This commit is contained in:
lllyasviel
2023-10-10 00:23:39 -07:00
committed by GitHub
parent c275434c59
commit f92b8038b4
7 changed files with 155 additions and 34 deletions
+4 -4
View File
@@ -1,6 +1,4 @@
fooocus_expansion = "Fooocus V2"
default_styles = ["Default (Slightly Cinematic)"]
import modules.path
# https://github.com/twri/sdxl_prompt_styler/blob/main/sdxl_styles.json
styles = [
@@ -933,9 +931,11 @@ def normalize_key(k):
return k
default_styles = [normalize_key(x) for x in default_styles]
styles = {normalize_key(k['name']): (k['prompt'], k['negative_prompt']) for k in styles}
style_keys = list(styles.keys())
fooocus_expansion = "Fooocus V2"
legal_style_names = [fooocus_expansion] + style_keys
SD_XL_BASE_RATIOS = {
"0.5": (704, 1408),