mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-25 18:58:11 +00:00
refine code
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import torch
|
||||
from diffsynth import save_video
|
||||
from diffsynth.pipelines.wan_video_new import WanVideoPipeline, ModelConfig
|
||||
from modelscope import snapshot_download
|
||||
|
||||
snapshot_download("Wan-AI/Wan2.2-T2V-A14B", local_dir="models/Wan-AI/Wan2.2-T2V-A14B")
|
||||
|
||||
|
||||
pipe = WanVideoPipeline.from_pretrained(
|
||||
|
||||
Reference in New Issue
Block a user