AlanB commited on
Commit
271cad0
·
1 Parent(s): 69e0e4e

Added from diffusers.schedulers import LMSDiscreteScheduler

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -1295,7 +1295,7 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
1295
  output_type: Optional[str] = "pil",
1296
  save_n_steps: Optional[int] = None,
1297
  **kwargs,):
1298
-
1299
  batch_size = 1
1300
 
1301
  if generator == None:
 
1295
  output_type: Optional[str] = "pil",
1296
  save_n_steps: Optional[int] = None,
1297
  **kwargs,):
1298
+ from diffusers.schedulers import LMSDiscreteScheduler
1299
  batch_size = 1
1300
 
1301
  if generator == None: