kadirnar commited on
Commit
77b6bae
1 Parent(s): ad3df52

Update diffusion_webui/diffusion_models/text2img_app.py

Browse files
diffusion_webui/diffusion_models/text2img_app.py CHANGED
@@ -16,7 +16,7 @@ class StableDiffusionText2ImageGenerator:
16
  def load_model(
17
  self,
18
  stable_model_path,
19
- scheduler_name,
20
  ):
21
  if self.pipe is None or self.pipe.model_name != stable_model_path or self.pipe.scheduler_name != scheduler:
22
  self.pipe = StableDiffusionPipeline.from_pretrained(
 
16
  def load_model(
17
  self,
18
  stable_model_path,
19
+ scheduler,
20
  ):
21
  if self.pipe is None or self.pipe.model_name != stable_model_path or self.pipe.scheduler_name != scheduler:
22
  self.pipe = StableDiffusionPipeline.from_pretrained(