Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
bb0c03e
1
Parent(s):
d3090bd
- modules/core.py +4 -4
modules/core.py
CHANGED
@@ -89,8 +89,8 @@ def close_all_preview():
|
|
89 |
|
90 |
|
91 |
@torch.no_grad()
|
92 |
-
def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='
|
93 |
-
scheduler='
|
94 |
force_full_denoise=False):
|
95 |
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
|
96 |
|
@@ -153,8 +153,8 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sa
|
|
153 |
|
154 |
@torch.no_grad()
|
155 |
def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent,
|
156 |
-
seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='
|
157 |
-
scheduler='
|
158 |
force_full_denoise=False):
|
159 |
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
|
160 |
|
|
|
89 |
|
90 |
|
91 |
@torch.no_grad()
|
92 |
+
def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu',
|
93 |
+
scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
|
94 |
force_full_denoise=False):
|
95 |
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
|
96 |
|
|
|
153 |
|
154 |
@torch.no_grad()
|
155 |
def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent,
|
156 |
+
seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu',
|
157 |
+
scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
|
158 |
force_full_denoise=False):
|
159 |
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
|
160 |
|