Spaces:
Paused
Paused
Commit
•
992a99c
1
Parent(s):
89df602
Need to use a public model (#7)
Browse files- Need to use a public model (eb5d6e2387bb6f2206ffe449557051d9c4b7b003)
Co-authored-by: Fabrice TIERCELIN <Fabrice-TIERCELIN@users.noreply.huggingface.co>
app.py
CHANGED
@@ -17,7 +17,7 @@ import spaces
|
|
17 |
#gradio.helpers.CACHED_FOLDER = '/data/cache'
|
18 |
|
19 |
pipe = StableVideoDiffusionPipeline.from_pretrained(
|
20 |
-
"
|
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 |
+
"vdo/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)
|