grbell commited on
Commit
ee613ee
·
verified ·
1 Parent(s): 4533322

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -35,6 +35,8 @@ pipe = CogVideoXImageToVideoPipeline.from_pretrained(
35
  torch_dtype=torch.bfloat16
36
  )
37
 
 
 
38
  pipe.vae.enable_tiling()
39
  pipe.vae.enable_slicing()
40
 
 
35
  torch_dtype=torch.bfloat16
36
  )
37
 
38
+ pipe.to("cuda")
39
+
40
  pipe.vae.enable_tiling()
41
  pipe.vae.enable_slicing()
42