Spaces:
Runtime error
Runtime error
thejagstudio
commited on
Commit
•
8bf8372
1
Parent(s):
4fa652d
Update backend/lcm_text_to_image.py
Browse files
backend/lcm_text_to_image.py
CHANGED
@@ -313,14 +313,6 @@ class LCMTextToImage:
|
|
313 |
):
|
314 |
self.img_to_img_pipeline.safety_checker = None
|
315 |
|
316 |
-
if (
|
317 |
-
not lcm_diffusion_setting.use_lcm_lora
|
318 |
-
and not lcm_diffusion_setting.use_openvino
|
319 |
-
and lcm_diffusion_setting.guidance_scale != 1.0
|
320 |
-
):
|
321 |
-
print("Not using LCM-LoRA so setting guidance_scale 1.0")
|
322 |
-
guidance_scale = 1.0
|
323 |
-
|
324 |
controlnet_args = update_controlnet_arguments(lcm_diffusion_setting)
|
325 |
if lcm_diffusion_setting.use_openvino:
|
326 |
if (
|
|
|
313 |
):
|
314 |
self.img_to_img_pipeline.safety_checker = None
|
315 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
controlnet_args = update_controlnet_arguments(lcm_diffusion_setting)
|
317 |
if lcm_diffusion_setting.use_openvino:
|
318 |
if (
|