Spaces:
Runtime error
Runtime error
Upgrade the model
#1
by
Fabrice-TIERCELIN
- opened
app.py
CHANGED
@@ -17,7 +17,7 @@ from huggingface_hub import hf_hub_download
|
|
17 |
#gradio.helpers.CACHED_FOLDER = '/data/cache'
|
18 |
|
19 |
pipe = StableVideoDiffusionPipeline.from_pretrained(
|
20 |
-
"stabilityai/stable-video-diffusion-img2vid-xt", torch_dtype=torch.float16, variant="fp16"
|
21 |
)
|
22 |
pipe.to("cuda")
|
23 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
|
|
17 |
#gradio.helpers.CACHED_FOLDER = '/data/cache'
|
18 |
|
19 |
pipe = StableVideoDiffusionPipeline.from_pretrained(
|
20 |
+
"stabilityai/stable-video-diffusion-img2vid-xt-1-1", torch_dtype=torch.float16, variant="fp16"
|
21 |
)
|
22 |
pipe.to("cuda")
|
23 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|