Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakpaul committed Jan 5, 2025
1 parent 1066dfc commit 4288f3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/training/cogvideox.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ Assuming your LoRA is saved and pushed to the HF Hub, and named `my-awesome-name

```diff
import torch
from diffusers import DiffusionPipeline
from diffusers import CogVideoXPipeline
from diffusers.utils import export_to_video

pipe = DiffusionPipeline.from_pretrained(
pipe = CogVideoXPipeline.from_pretrained(
"THUDM/CogVideoX-5b", torch_dtype=torch.float16
).to("cuda")
+ pipe.load_lora_weights("my-awesome-name/my-awesome-lora", adapter_name="cogvideox-lora")
Expand Down

0 comments on commit 4288f3b

Please sign in to comment.