MuhammedIjas555444 commited on
Commit
8f8f73e
·
verified ·
1 Parent(s): 09e4070

Update damo-vilab/text-to-video-ms-1.7b

Browse files
Files changed (1) hide show
  1. damo-vilab/text-to-video-ms-1.7b +1 -1
damo-vilab/text-to-video-ms-1.7b CHANGED
@@ -4,7 +4,7 @@ video_pipe = DiffusionPipeline.from_pretrained(
4
  "damo-vilab/text-to-video-ms-1.7b",
5
  torch_dtype=torch.float16
6
  )
7
- video_pipe.to("cpu")
8
 
9
  def generate_video(prompt):
10
  frames = video_pipe(prompt).frames
 
4
  "damo-vilab/text-to-video-ms-1.7b",
5
  torch_dtype=torch.float16
6
  )
7
+ video_pipe.to("cuda")
8
 
9
  def generate_video(prompt):
10
  frames = video_pipe(prompt).frames