mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-06 22:02:18 -08:00
Gen params paste improvement
This commit is contained in:
parent
7f62300f7d
commit
3bc8ee998d
2 changed files with 4 additions and 4 deletions
|
|
@ -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"] = f'"{self.hr_prompt}"'
|
||||
self.extra_generation_params["Hires negative prompt"] = f'"{self.hr_negative_prompt}"'
|
||||
self.extra_generation_params["Hires prompt"] = f'({self.hr_prompt.replace(",", ";")})'
|
||||
self.extra_generation_params["Hires negative prompt"] = f'({self.hr_negative_prompt.replace(",", ";")})'
|
||||
self.hr_upscale_to_x = int(self.width * self.hr_scale)
|
||||
self.hr_upscale_to_y = int(self.height * self.hr_scale)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue