Omnibus commited on
Commit
8a31d41
·
1 Parent(s): c94e232

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from diffusers.utils import export_to_video
6
  device = "cuda" if torch.cuda.is_available() else "cpu"
7
  #model = gr.Interface.load("models/camenduru/text2_video_zero")
8
  # load pipeline
9
- pipe = DiffusionPipeline.from_pretrained("camenduru/text2_video_zero").to(device)
10
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
11
  #if device == "cuda":
12
  # optimize for GPU memory
 
6
  device = "cuda" if torch.cuda.is_available() else "cpu"
7
  #model = gr.Interface.load("models/camenduru/text2_video_zero")
8
  # load pipeline
9
+ pipe = DiffusionPipeline.from_pretrained("camenduru/text2-video-zero").to(device)
10
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
11
  #if device == "cuda":
12
  # optimize for GPU memory