Spaces:
Running
on
Zero
Running
on
Zero
killwithabass
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -62,6 +62,7 @@ def generate_image(prompt, trigger_word, steps, seed, cfg_scale, width, height,
|
|
62 |
height=height,
|
63 |
generator=generator,
|
64 |
joint_attention_kwargs={"scale": lora_scale},
|
|
|
65 |
).images[0]
|
66 |
return image
|
67 |
|
|
|
62 |
height=height,
|
63 |
generator=generator,
|
64 |
joint_attention_kwargs={"scale": lora_scale},
|
65 |
+
max_sequence_length=512
|
66 |
).images[0]
|
67 |
return image
|
68 |
|