Load a `MotionAdapter` and pass it to the [`AnimateDiffPipeline`].  
```py
import torch
from diffusers import AnimateDiffPipeline, DDIMScheduler, MotionAdapter
from diffusers.utils import export_to_gif