mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i (#559)
This commit is contained in:
+16
-8
@@ -1,3 +1,6 @@
|
||||
import comfy.samplers
|
||||
|
||||
|
||||
disabled = 'Disabled'
|
||||
enabled = 'Enabled'
|
||||
subtle_variation = 'Vary (Subtle)'
|
||||
@@ -10,14 +13,19 @@ uov_list = [
|
||||
disabled, subtle_variation, strong_variation, upscale_15, upscale_2, upscale_fast
|
||||
]
|
||||
|
||||
sampler_list = ["euler", "euler_ancestral", "heun", "dpm_2", "dpm_2_ancestral",
|
||||
"lms", "dpm_fast", "dpm_adaptive", "dpmpp_2s_ancestral", "dpmpp_sde", "dpmpp_sde_gpu",
|
||||
"dpmpp_2m", "dpmpp_2m_sde", "dpmpp_2m_sde_gpu", "dpmpp_3m_sde", "dpmpp_3m_sde_gpu", "ddpm",
|
||||
# "ddim",
|
||||
"uni_pc", "uni_pc_bh2",
|
||||
# "dpmpp_fooocus_2m_sde_inpaint_seamless"
|
||||
]
|
||||
sampler_list = comfy.samplers.SAMPLER_NAMES
|
||||
default_sampler = 'dpmpp_2m_sde_gpu'
|
||||
|
||||
scheduler_list = ["normal", "karras", "exponential", "sgm_uniform", "simple", "ddim_uniform"]
|
||||
scheduler_list = comfy.samplers.SCHEDULER_NAMES
|
||||
default_scheduler = "karras"
|
||||
|
||||
cn_ip = "Image Prompt"
|
||||
cn_canny = "PyraCanny"
|
||||
cn_cpds = "CPDS"
|
||||
|
||||
ip_list = [cn_ip, cn_canny, cn_cpds]
|
||||
default_ip = cn_ip
|
||||
|
||||
default_parameters = {
|
||||
cn_ip: (0.4, 0.6), cn_canny: (0.4, 1.0), cn_cpds: (0.4, 1.0)
|
||||
} # stop, weight
|
||||
|
||||
Reference in New Issue
Block a user