fix krea typo

This commit is contained in:
mi804
2025-08-01 17:13:45 +08:00
parent b63f81c6e3
commit b2554db100
10 changed files with 16 additions and 16 deletions

View File

@@ -13,8 +13,8 @@ pipe = FluxImagePipeline.from_pretrained(
ModelConfig(model_id="black-forest-labs/FLUX.1-dev", origin_file_pattern="ae.safetensors"),
],
)
state_dict = load_state_dict("models/train/FLUX.1-Kera-dev_full/epoch-0.safetensors")
state_dict = load_state_dict("models/train/FLUX.1-Krea-dev_full/epoch-0.safetensors")
pipe.dit.load_state_dict(state_dict)
image = pipe(prompt="a dog", seed=0)
image.save("image_FLUX.1-Kera-dev_full.jpg")
image.save("image_FLUX.1-Krea-dev_full.jpg")