Shriharsh commited on
Commit
595bb09
1 Parent(s): a3b62d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -15,7 +15,6 @@ if torch.cuda.is_available():
15
 
16
  # Use the DPMSolverMultistepScheduler (DPM-Solver++) scheduler here instead
17
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
18
- pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
19
  pipe.to(device)
20
 
21
  def generate(prompt):
 
15
 
16
  # Use the DPMSolverMultistepScheduler (DPM-Solver++) scheduler here instead
17
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
 
18
  pipe.to(device)
19
 
20
  def generate(prompt):