Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -136,9 +136,9 @@ scheduler2 = DDIMScheduler.from_pretrained(
|
|
136 |
|
137 |
pipe = AnimateDiffPipeline.from_pretrained(
|
138 |
base,
|
139 |
-
motion_adapter=
|
140 |
torch_dtype=torch.float16
|
141 |
-
)
|
142 |
|
143 |
pipe.scheduler = scheduler2
|
144 |
pipe.vae = vae
|
|
|
136 |
|
137 |
pipe = AnimateDiffPipeline.from_pretrained(
|
138 |
base,
|
139 |
+
motion_adapter=adapter,
|
140 |
torch_dtype=torch.float16
|
141 |
+
).to(device)
|
142 |
|
143 |
pipe.scheduler = scheduler2
|
144 |
pipe.vae = vae
|