Skip to content

Commit bfebde3

Browse files
committed
fix doc toctree and style
1 parent 95fabd1 commit bfebde3

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

docs/source/en/_toctree.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@
347347
title: HiDreamImageTransformer2DModel
348348
- local: api/models/hunyuan_transformer2d
349349
title: HunyuanDiT2DModel
350+
- local: api/models/hunyuanimage_transformer_2d
351+
title: HunyuanImageTransformer2DModel
350352
- local: api/models/hunyuan_video_transformer_3d
351353
title: HunyuanVideoTransformer3DModel
352354
- local: api/models/latte_transformer3d
@@ -411,6 +413,10 @@
411413
title: AutoencoderKLCogVideoX
412414
- local: api/models/autoencoderkl_cosmos
413415
title: AutoencoderKLCosmos
416+
- local: api/models/autoencoder_kl_hunyuanimage
417+
title: AutoencoderKLHunyuanImage
418+
- local: api/models/autoencoder_kl_hunyuanimage_refiner
419+
title: AutoencoderKLHunyuanImageRefiner
414420
- local: api/models/autoencoder_kl_hunyuan_video
415421
title: AutoencoderKLHunyuanVideo
416422
- local: api/models/autoencoderkl_ltx_video
@@ -620,6 +626,8 @@
620626
title: ConsisID
621627
- local: api/pipelines/framepack
622628
title: Framepack
629+
- local: api/pipelines/hunyuanimage21
630+
title: HunyuanImage2.1
623631
- local: api/pipelines/hunyuan_video
624632
title: HunyuanVideo
625633
- local: api/pipelines/i2vgenxl

src/diffusers/guiders/adaptive_projected_guidance_mix.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ def prepare_inputs(self, data: Dict[str, Tuple[torch.Tensor, torch.Tensor]]) ->
9292
if self._step == 0:
9393
if self.adaptive_projected_guidance_momentum is not None:
9494
self.momentum_buffer = MomentumBuffer(self.adaptive_projected_guidance_momentum)
95-
tuple_indices = (
96-
[0] if self.num_conditions == 1 else [0, 1]
97-
)
95+
tuple_indices = [0] if self.num_conditions == 1 else [0, 1]
9896
data_batches = []
9997
for tuple_idx, input_prediction in zip(tuple_indices, self._input_predictions):
10098
data_batch = self._prepare_batch(data, tuple_idx, input_prediction)

0 commit comments

Comments
 (0)