filipvk commited on
Commit
db9ea67
·
1 Parent(s): a2776d1

change output size

Browse files
Files changed (1) hide show
  1. app/model.py +1 -1
app/model.py CHANGED
@@ -19,6 +19,6 @@ pipe.to("cpu")
19
  @torch.inference_mode()
20
  def generate_image(prompt):
21
 
22
- image = pipe(prompt, height=256, width=256, num_inference_steps=10).images[0]
23
 
24
  return image
 
19
  @torch.inference_mode()
20
  def generate_image(prompt):
21
 
22
+ image = pipe(prompt, height=512, width=512, num_inference_steps=10).images[0]
23
 
24
  return image