Skip to content

Commit a4bc845

Browse files
authored
Fix missing load_video documentation and load_video import in WanVideoToVideoPipeline example code (huggingface#12472)
* Update utilities.md Update missing load_video documentation * Update pipeline_wan_video2video.py Fix missing load_video import in example code
1 parent fa468c5 commit a4bc845

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/source/en/api/utilities.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Utility and helper functions for working with 🤗 Diffusers.
2626

2727
[[autodoc]] utils.load_image
2828

29+
## load_video
30+
31+
[[autodoc]] utils.load_video
32+
2933
## export_to_gif
3034

3135
[[autodoc]] utils.export_to_gif

src/diffusers/pipelines/wan/pipeline_wan_video2video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
Examples:
5050
```python
5151
>>> import torch
52-
>>> from diffusers.utils import export_to_video
52+
>>> from diffusers.utils import export_to_video, load_video
5353
>>> from diffusers import AutoencoderKLWan, WanVideoToVideoPipeline
5454
>>> from diffusers.schedulers.scheduling_unipc_multistep import UniPCMultistepScheduler
5555

0 commit comments

Comments
 (0)