Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ The model can be directly load from pretrained with mochi branch: https://github
|
|
11 |
from diffusers import MochiPipeline
|
12 |
from diffusers.utils import export_to_video
|
13 |
|
14 |
-
pipe = MochiPipeline.from_pretrained(path)
|
15 |
pipe.to("cuda")
|
16 |
prompt = "Close-up of a chameleon's eye, with its scaly skin changing color. Ultra high resolution 4k."
|
17 |
frames = pipe(prompt, num_inference_steps=28, guidance_scale=3.5).frames[0]
|
|
|
11 |
from diffusers import MochiPipeline
|
12 |
from diffusers.utils import export_to_video
|
13 |
|
14 |
+
pipe = MochiPipeline.from_pretrained(path, torch_dtype=torch.bfloat16)
|
15 |
pipe.to("cuda")
|
16 |
prompt = "Close-up of a chameleon's eye, with its scaly skin changing color. Ultra high resolution 4k."
|
17 |
frames = pipe(prompt, num_inference_steps=28, guidance_scale=3.5).frames[0]
|