killwithabass commited on
Commit
b9cc145
·
verified ·
1 Parent(s): fb2fad6

Update app.py

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