diff options
author | invincibledude <> | 2023-01-22 13:35:42 +0000 |
---|---|---|
committer | invincibledude <> | 2023-01-22 13:35:42 +0000 |
commit | 3bc8ee998db5f461b8011a72e6f167012ccb8bc1 (patch) | |
tree | c981ffb1b5faad0b26c20bd6da606fa97bef1bdc /modules/processing.py | |
parent | 7f62300f7d496501a730d28f3aaaee885513998b (diff) | |
download | stable-diffusion-webui-gfx803-3bc8ee998db5f461b8011a72e6f167012ccb8bc1.tar.gz stable-diffusion-webui-gfx803-3bc8ee998db5f461b8011a72e6f167012ccb8bc1.tar.bz2 stable-diffusion-webui-gfx803-3bc8ee998db5f461b8011a72e6f167012ccb8bc1.zip |
Gen params paste improvement
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/processing.py b/modules/processing.py index c56717f6..01c1b53c 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -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:
|