Spaces:
Runtime error
Runtime error
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 |
-
|
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(
|