LEIDIA commited on
Commit
ee91694
Β·
verified Β·
1 Parent(s): 41bff10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -46,6 +46,7 @@ DEFAULT_INFERENCE_STEPS = 6
46
  IMAGE_WIDTH = 512
47
  IMAGE_HEIGHT = 812
48
  GUIDANCE_SCALE = 5.5
 
49
 
50
  def resize_to_divisible_by_8(image):
51
  width, height = image.size
 
46
  IMAGE_WIDTH = 512
47
  IMAGE_HEIGHT = 812
48
  GUIDANCE_SCALE = 5.5
49
+ image = pipe(prompt, width=width, height=height)
50
 
51
  def resize_to_divisible_by_8(image):
52
  width, height = image.size