Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -58,6 +58,7 @@ def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora
|
|
58 |
height=height,
|
59 |
generator=generator,
|
60 |
joint_attention_kwargs={"scale": lora_scale},
|
|
|
61 |
).images[0]
|
62 |
|
63 |
# Save the image to a file with a unique name in /tmp directory
|
|
|
58 |
height=height,
|
59 |
generator=generator,
|
60 |
joint_attention_kwargs={"scale": lora_scale},
|
61 |
+
max_sequence_length=512
|
62 |
).images[0]
|
63 |
|
64 |
# Save the image to a file with a unique name in /tmp directory
|