File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def _to_api_result(self, response):
162162
163163 def txt2img (self ,
164164 enable_hr = False ,
165- denoising_strength = 0.0 ,
165+ denoising_strength = 0.7 ,
166166 firstphase_width = 0 ,
167167 firstphase_height = 0 ,
168168 hr_scale = 2 ,
@@ -175,8 +175,8 @@ def txt2img(self,
175175 seed = - 1 ,
176176 subseed = - 1 ,
177177 subseed_strength = 0.0 ,
178- seed_resize_from_h = - 1 ,
179- seed_resize_from_w = - 1 ,
178+ seed_resize_from_h = 0 ,
179+ seed_resize_from_w = 0 ,
180180 sampler_name = None , # use this instead of sampler_index
181181 batch_size = 1 ,
182182 n_iter = 1 ,
@@ -279,8 +279,8 @@ def img2img(self,
279279 seed = - 1 ,
280280 subseed = - 1 ,
281281 subseed_strength = 0 ,
282- seed_resize_from_h = - 1 ,
283- seed_resize_from_w = - 1 ,
282+ seed_resize_from_h = 0 ,
283+ seed_resize_from_w = 0 ,
284284 sampler_name = None , # use this instead of sampler_index
285285 batch_size = 1 ,
286286 n_iter = 1 ,
You can’t perform that action at this time.
0 commit comments