mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-23 08:15:18 +00:00
Update README.md (#73)
This commit is contained in:
@@ -41,7 +41,7 @@ Assuming your LoRA is saved and pushed to the HF Hub, and named `my-awesome-name
|
|||||||
```diff
|
```diff
|
||||||
import torch
|
import torch
|
||||||
from diffusers import CogVideoXPipeline
|
from diffusers import CogVideoXPipeline
|
||||||
from diffusers import export_to_video
|
from diffusers.utils import export_to_video
|
||||||
|
|
||||||
pipe = CogVideoXPipeline.from_pretrained(
|
pipe = CogVideoXPipeline.from_pretrained(
|
||||||
"THUDM/CogVideoX-5b", torch_dtype=torch.bfloat16
|
"THUDM/CogVideoX-5b", torch_dtype=torch.bfloat16
|
||||||
|
|||||||
Reference in New Issue
Block a user