aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
authorinvincibledude <>2023-01-22 16:29:08 +0300
committerinvincibledude <>2023-01-22 16:29:08 +0300
commit7f62300f7d496501a730d28f3aaaee885513998b (patch)
treeac0ab236ee0ccfbd512c3382950bf6b60083d95e /modules/processing.py
parentfccc39834a61509a2fb60196229cbea20539aabb (diff)
Gen params paste improvement
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 8b4b2399..c56717f6 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}"'
+ 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: