mirror of
https://github.com/guoyww/AnimateDiff.git
synced 2026-04-03 09:46:36 +02:00
update
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Adapted from https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
|
# Adapted from https://github.com/showlab/Tune-A-Video/blob/main/tuneavideo/pipelines/pipeline_tuneavideo.py
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
from typing import Callable, List, Optional, Union
|
from typing import Callable, List, Optional, Union
|
||||||
@@ -420,4 +420,4 @@ class AnimationPipeline(DiffusionPipeline):
|
|||||||
if not return_dict:
|
if not return_dict:
|
||||||
return video
|
return video
|
||||||
|
|
||||||
return AnimationPipelineOutput(videos=video)
|
return AnimationPipelineOutput(videos=video)
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ from transformers import (
|
|||||||
|
|
||||||
from diffusers.models import (
|
from diffusers.models import (
|
||||||
AutoencoderKL,
|
AutoencoderKL,
|
||||||
# ControlNetModel,
|
|
||||||
PriorTransformer,
|
PriorTransformer,
|
||||||
UNet2DConditionModel,
|
UNet2DConditionModel,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user