Spaces:
Running
on
Zero
Running
on
Zero
bugfix
Browse files
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 |
-
|
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!")
|