Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Change chroma to use Flux shift. (#7961)

comfyanonymousa4e679765ec6
diff --git a/comfy/model_base.py b/comfy/model_base.py
index 3d33086d8..045df1317 100644
--- a/comfy/model_base.py
+++ b/comfy/model_base.py
@@ -1111,7 +1111,7 @@ class HiDream(BaseModel):
return out
class Chroma(Flux):
- def __init__(self, model_config, model_type=ModelType.FLOW, device=None):
+ def __init__(self, model_config, model_type=ModelType.FLUX, device=None):
super().__init__(model_config, model_type, device=device, unet_model=comfy.ldm.chroma.model.Chroma)
def extra_conds(self, **kwargs):