Change chroma to use Flux shift. (#7961)

This commit is contained in:
comfyanonymous 2025-05-06 06:00:01 -07:00 committed by GitHub
parent 0cf2e46b17
commit a4e679765e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):