Skip to content

Commit f6501ca

Browse files
committed
update
1 parent 8adc600 commit f6501ca

File tree

6 files changed

+1108
-4
lines changed

6 files changed

+1108
-4
lines changed

src/diffusers/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@
353353
"AuraFlowPipeline",
354354
"BlipDiffusionControlNetPipeline",
355355
"BlipDiffusionPipeline",
356+
"ChromaImg2ImgPipeline",
356357
"ChromaPipeline",
357358
"CLIPImageProjection",
358359
"CogVideoXFunControlPipeline",
@@ -945,6 +946,7 @@
945946
AudioLDM2UNet2DConditionModel,
946947
AudioLDMPipeline,
947948
AuraFlowPipeline,
949+
ChromaImg2ImgPipeline,
948950
ChromaPipeline,
949951
CLIPImageProjection,
950952
CogVideoXFunControlPipeline,

src/diffusers/pipelines/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"AudioLDM2UNet2DConditionModel",
149149
]
150150
_import_structure["blip_diffusion"] = ["BlipDiffusionPipeline"]
151-
_import_structure["chroma"] = ["ChromaPipeline"]
151+
_import_structure["chroma"] = ["ChromaPipeline", "ChromaImg2ImgPipeline"]
152152
_import_structure["cogvideo"] = [
153153
"CogVideoXPipeline",
154154
"CogVideoXImageToVideoPipeline",
@@ -537,7 +537,7 @@
537537
)
538538
from .aura_flow import AuraFlowPipeline
539539
from .blip_diffusion import BlipDiffusionPipeline
540-
from .chroma import ChromaPipeline
540+
from .chroma import ChromaImg2ImgPipeline, ChromaPipeline
541541
from .cogvideo import (
542542
CogVideoXFunControlPipeline,
543543
CogVideoXImageToVideoPipeline,

src/diffusers/pipelines/chroma/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323
_dummy_objects.update(get_objects_from_module(dummy_torch_and_transformers_objects))
2424
else:
2525
_import_structure["pipeline_chroma"] = ["ChromaPipeline"]
26+
_import_structure["pipeline_chroma_img2img"] = ["ChromaImg2ImgPipeline"]
2627
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
2728
try:
2829
if not (is_transformers_available() and is_torch_available()):
2930
raise OptionalDependencyNotAvailable()
3031
except OptionalDependencyNotAvailable:
3132
from ...utils.dummy_torch_and_transformers_objects import * # noqa F403
3233
else:
33-
from .pipeline_chroma import ChromaPipeline
34+
from .pipeline_chroma import ChromaImg2ImgPipeline, ChromaPipeline
3435
else:
3536
import sys
3637

src/diffusers/pipelines/chroma/pipeline_chroma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Black Forest Labs and The HuggingFace Team. All rights reserved.
1+
# Copyright 2025 Black Forest Labs and The HuggingFace Team. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)