michaelj commited on
Commit
72e1889
·
1 Parent(s): 7a143ba

change size

Browse files
Files changed (1) hide show
  1. backend/lcm_text_to_image.py +2 -2
backend/lcm_text_to_image.py CHANGED
@@ -272,8 +272,8 @@ class LCMTextToImage:
272
 
273
  self.pipeline.reshape(
274
  batch_size=-1,
275
- height=newW*2,
276
- width=newW*2,
277
  num_images_per_prompt=lcm_diffusion_setting.number_of_images,
278
  )
279
  self.pipeline.compile()
 
272
 
273
  self.pipeline.reshape(
274
  batch_size=-1,
275
+ height=newW,
276
+ width=newH,
277
  num_images_per_prompt=lcm_diffusion_setting.number_of_images,
278
  )
279
  self.pipeline.compile()