mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-18 16:55:14 +02:00
added passthrough mode for esrgan upscale, triggered by img2img denoise 0.0 with 1 step
This commit is contained in:
+1
-1
@@ -2435,7 +2435,7 @@ def sd_generate(genparams):
|
||||
inputs.cfg_scale = cfg_scale
|
||||
if distilled_guidance is not None:
|
||||
inputs.distilled_guidance = distilled_guidance
|
||||
inputs.denoising_strength = denoising_strength
|
||||
inputs.denoising_strength = (0 if denoising_strength < 0 else (1 if denoising_strength > 1 else denoising_strength))
|
||||
if shifted_timestep is not None:
|
||||
inputs.shifted_timestep = shifted_timestep
|
||||
if flow_shift is not None:
|
||||
|
||||
Reference in New Issue
Block a user