CrazyEric Fabrice-TIERCELIN commited on
Commit
f9e97e3
1 Parent(s): c0a450d

Upgrade the model (#1)

Browse files

- Upgrade the model (7e5f348b8fe09e5a4fa9770662925a193e9a1731)


Co-authored-by: Fabrice TIERCELIN <Fabrice-TIERCELIN@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
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)