mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 23:22:48 +03:00
UI and PNG info improvements
This commit is contained in:
parent
bbb1e35ea2
commit
a5c2b5ed89
@ -790,8 +790,8 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
|
||||
if self.hr_resize_x == 0 and self.hr_resize_y == 0:
|
||||
self.extra_generation_params["Hires upscale"] = self.hr_scale
|
||||
self.extra_generation_params["Hires sampler"] = self.hr_sampler
|
||||
self.extra_generation_params["Hires prompt"] = self.hr_prompt
|
||||
self.extra_generation_params["Hires negative prompt"] = self.hr_negative_prompt
|
||||
self.extra_generation_params["Hires prompt"] = f"({self.hr_prompt})"
|
||||
self.extra_generation_params["Hires negative prompt"] = f"({self.hr_negative_prompt})"
|
||||
self.hr_upscale_to_x = int(self.width * self.hr_scale)
|
||||
self.hr_upscale_to_y = int(self.height * self.hr_scale)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user