diff --git a/api/onnx_web/diffusers/pipelines/panorama.py b/api/onnx_web/diffusers/pipelines/panorama.py index 01d6d0ec..78151f12 100644 --- a/api/onnx_web/diffusers/pipelines/panorama.py +++ b/api/onnx_web/diffusers/pipelines/panorama.py @@ -688,7 +688,7 @@ class OnnxStableDiffusionPanoramaPipeline(DiffusionPipeline): else: mask = 1 - if weight >= 10.0: + if weight >= 100.0: value[:, :, h_start:h_end, w_start:w_end] = ( latents_region_denoised * mask ) diff --git a/api/onnx_web/diffusers/pipelines/panorama_xl.py b/api/onnx_web/diffusers/pipelines/panorama_xl.py index 446bc5d6..9d4dfc08 100644 --- a/api/onnx_web/diffusers/pipelines/panorama_xl.py +++ b/api/onnx_web/diffusers/pipelines/panorama_xl.py @@ -537,7 +537,7 @@ class StableDiffusionXLPanoramaPipelineMixin(StableDiffusionXLImg2ImgPipelineMix else: mask = 1 - if weight >= 10.0: + if weight >= 100.0: value[:, :, h_start:h_end, w_start:w_end] = ( latents_region_denoised * mask ) diff --git a/docs/user-guide.md b/docs/user-guide.md index d186d628..3812c87c 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -447,10 +447,11 @@ than the other tokens and have more parameters, which may change in the future. - will be rounded down to the nearest multiple of 8 - `strength` defines the ratio between the two prompts - must be a float or integer - - strength should be between 0.0 and 10.0 + - strength should be between 0.0 and 100.0 - 2.0 to 5.0 generally works - - 10.0 completely replaces the base prompt + - 100.0 completely replaces the base prompt - < 0 does weird things + - more UNet overlap will require greater strength - `feather` defines the blending between the two prompts - must be a float or integer - this is similar to UNet and VAE overlap