AlekseyCalvin commited on
Commit
eaab94f
1 Parent(s): f20a809

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +0 -2
pipeline.py CHANGED
@@ -236,7 +236,6 @@ class FluxWithCFGPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFile
236
  prompt=prompt,
237
  device=device,
238
  num_images_per_prompt=num_images_per_prompt,
239
- max_sequence_length=max_sequence_length,
240
  )
241
  prompt_embeds = self._get_t5_prompt_embeds(
242
  prompt=prompt_2,
@@ -271,7 +270,6 @@ class FluxWithCFGPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFile
271
  prompt=negative_prompt,
272
  device=device,
273
  num_images_per_prompt=num_images_per_prompt,
274
- max_sequence_length=max_sequence_length,
275
  )
276
 
277
  negative_prompt_embeds = self._get_t5_prompt_embeds(
 
236
  prompt=prompt,
237
  device=device,
238
  num_images_per_prompt=num_images_per_prompt,
 
239
  )
240
  prompt_embeds = self._get_t5_prompt_embeds(
241
  prompt=prompt_2,
 
270
  prompt=negative_prompt,
271
  device=device,
272
  num_images_per_prompt=num_images_per_prompt,
 
273
  )
274
 
275
  negative_prompt_embeds = self._get_t5_prompt_embeds(