yulu2 commited on
Commit
eeb019e
·
1 Parent(s): 2026c4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -62,6 +62,8 @@ def main():
62
  image_cfg_scale: float,
63
  ):
64
  seed = random.randint(0, 100000) if randomize_seed else seed
 
 
65
  width, height = input_image.size
66
  factor = 512 / max(width, height)
67
  factor = math.ceil(min(width, height) * factor / 64) * 64 / min(width, height)
 
62
  image_cfg_scale: float,
63
  ):
64
  seed = random.randint(0, 100000) if randomize_seed else seed
65
+ text_cfg_scale = text_cfg_scale
66
+ image_cfg_scale = image_cfg_scale
67
  width, height = input_image.size
68
  factor = 512 / max(width, height)
69
  factor = math.ceil(min(width, height) * factor / 64) * 64 / min(width, height)