jiuface commited on
Commit
7e0a1d6
·
1 Parent(s): a9da525
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -98,8 +98,7 @@ def generate_image(prompt, steps, seed, cfg_scale, width, height, progress):
98
  width=width,
99
  height=height,
100
  generator=generator,
101
- cross_attention_kwargs={"scale": 1.0},
102
- max_sequence_length=256
103
  ).images[0]
104
 
105
  progress(99, "Generate success!")
 
98
  width=width,
99
  height=height,
100
  generator=generator,
101
+ joint_attention_kwargs={"scale": 1}
 
102
  ).images[0]
103
 
104
  progress(99, "Generate success!")