linoyts HF staff commited on
Commit
c719a09
1 Parent(s): 451ea4b

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +1 -1
models.py CHANGED
@@ -632,7 +632,7 @@ class AudioLDM2Wrapper(PipelineWrapper):
632
  return self
633
 
634
 
635
- def load_model(model_id, device, num_diffusion_steps, double_precision=False):
636
  ldm_stable = AudioLDM2Wrapper(model_id=model_id, device=device, double_precision=double_precision)
637
  ldm_stable.load_scheduler()
638
  torch.cuda.empty_cache()
 
632
  return self
633
 
634
 
635
+ def load_model(model_id, device, double_precision=False):
636
  ldm_stable = AudioLDM2Wrapper(model_id=model_id, device=device, double_precision=double_precision)
637
  ldm_stable.load_scheduler()
638
  torch.cuda.empty_cache()