Spaces:
Running
on
Zero
Running
on
Zero
AlekseyCalvin
commited on
Commit
•
00c43c3
1
Parent(s):
3bc5343
Update pipeline.py
Browse files- pipeline.py +1 -0
pipeline.py
CHANGED
@@ -270,6 +270,7 @@ class FluxWithCFGPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFile
|
|
270 |
prompt=negative_prompt,
|
271 |
device=device,
|
272 |
num_images_per_prompt=num_images_per_prompt,
|
|
|
273 |
)
|
274 |
|
275 |
t5_negative_prompt_embed = self._get_t5_prompt_embeds(
|
|
|
270 |
prompt=negative_prompt,
|
271 |
device=device,
|
272 |
num_images_per_prompt=num_images_per_prompt,
|
273 |
+
max_sequence_length=max_sequence_length,
|
274 |
)
|
275 |
|
276 |
t5_negative_prompt_embed = self._get_t5_prompt_embeds(
|