Skip to content

Commit 6586551

Browse files
authored
Update chroma.md
Fix typo in Inference example code
1 parent 0454fbb commit 6586551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/api/pipelines/chroma.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import torch
3636
from diffusers import ChromaPipeline
3737

3838
pipe = ChromaPipeline.from_pretrained("lodestones/Chroma", torch_dtype=torch.bfloat16)
39-
pipe.enabe_model_cpu_offload()
39+
pipe.enable_model_cpu_offload()
4040

4141
prompt = [
4242
"A high-fashion close-up portrait of a blonde woman in clear sunglasses. The image uses a bold teal and red color split for dramatic lighting. The background is a simple teal-green. The photo is sharp and well-composed, and is designed for viewing with anaglyph 3D glasses for optimal effect. It looks professionally done."

0 commit comments

Comments
 (0)