Spaces:
Runtime error
Runtime error
The model needs to be changed (#2)
Browse files- The model needs to be changed (8e5260aecd916828b0857da7bd3eaaba469b2ecc)
Co-authored-by: Fabrice TIERCELIN <[email protected]>
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)
|