jiuface commited on
Commit
292c70d
1 Parent(s): 9236a32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -170,6 +170,7 @@ def run_flux(
170
  width=width,
171
  height=height,
172
  generator=generator,
 
173
  num_inference_steps=num_inference_steps_slider,
174
  ).images[0]
175
  progress(99, "Generate image success!")
 
170
  width=width,
171
  height=height,
172
  generator=generator,
173
+ max_sequence_length=512,
174
  num_inference_steps=num_inference_steps_slider,
175
  ).images[0]
176
  progress(99, "Generate image success!")