Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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!")
|