From f336cc5d024ba61d041cf59c009c36b5e0f0397d Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 18 Mar 2023 14:02:30 -0500 Subject: [PATCH] fix(api): provide noise parameter to SD upscaling (#196) --- api/onnx_web/chain/upscale_stable_diffusion.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/onnx_web/chain/upscale_stable_diffusion.py b/api/onnx_web/chain/upscale_stable_diffusion.py index aa9fa13a..93ae1a32 100644 --- a/api/onnx_web/chain/upscale_stable_diffusion.py +++ b/api/onnx_web/chain/upscale_stable_diffusion.py @@ -93,5 +93,6 @@ def upscale_stable_diffusion( negative_prompt=params.negative_prompt, num_inference_steps=params.steps, eta=params.eta, + noise_level=upscale.denoise, callback=callback, ).images[0]