Skip to content

Commit 6432c50

Browse files
a-r-r-o-wstevhliu
authored andcommitted
[docs] AnimateDiff Video-to-Video (huggingface#6712)
* add animatediff vid2vid to docs * Update docs/source/en/api/pipelines/animatediff.md Co-authored-by: Steven Liu <[email protected]> * apply suggestions from review --------- Co-authored-by: Steven Liu <[email protected]>
1 parent e3f67db commit 6432c50

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

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

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ from PIL import Image
118118
adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-2", torch_dtype=torch.float16)
119119
# load SD 1.5 based finetuned model
120120
model_id = "SG161222/Realistic_Vision_V5.1_noVAE"
121-
pipe = AnimateDiffVideoToVideoPipeline.from_pretrained(model_id, motion_adapter=adapter, torch_dtype=torch.float16)
121+
pipe = AnimateDiffVideoToVideoPipeline.from_pretrained(model_id, motion_adapter=adapter, torch_dtype=torch.float16).to("cuda")
122122
scheduler = DDIMScheduler.from_pretrained(
123123
model_id,
124124
subfolder="scheduler",
@@ -411,16 +411,14 @@ Make sure to check out the Schedulers [guide](../../using-diffusers/schedulers)
411411
## AnimateDiffPipeline
412412

413413
[[autodoc]] AnimateDiffPipeline
414-
- all
415-
- __call__
416-
- enable_freeu
417-
- disable_freeu
418-
- enable_free_init
419-
- disable_free_init
420-
- enable_vae_slicing
421-
- disable_vae_slicing
422-
- enable_vae_tiling
423-
- disable_vae_tiling
414+
- all
415+
- __call__
416+
417+
## AnimateDiffVideoToVideoPipeline
418+
419+
[[autodoc]] AnimateDiffVideoToVideoPipeline
420+
- all
421+
- __call__
424422

425423
## AnimateDiffPipelineOutput
426424

0 commit comments

Comments
 (0)