Spaces:
Runtime error
Runtime error
The model needs to be changed
#2
by
Fabrice-TIERCELIN
- opened
app.py
CHANGED
@@ -14,7 +14,7 @@ import random
|
|
14 |
from huggingface_hub import hf_hub_download
|
15 |
|
16 |
pipe = StableVideoDiffusionPipeline.from_pretrained(
|
17 |
-
"
|
18 |
)
|
19 |
pipe.to("cuda")
|
20 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
|
|
14 |
from huggingface_hub import hf_hub_download
|
15 |
|
16 |
pipe = StableVideoDiffusionPipeline.from_pretrained(
|
17 |
+
"vdo/stable-video-diffusion-img2vid-xt-1-1", torch_dtype=torch.float16, variant="fp16"
|
18 |
)
|
19 |
pipe.to("cuda")
|
20 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|