killwithabass commited on
Commit
a6dc53c
·
verified ·
1 Parent(s): a0be1d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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