Spaces:
Running
Running
add logs
Browse files
backend/lcm_text_to_image.py
CHANGED
@@ -188,6 +188,8 @@ class LCMTextToImage:
|
|
188 |
) -> None:
|
189 |
self.device = device
|
190 |
self.use_openvino = use_openvino
|
|
|
|
|
191 |
if (
|
192 |
self.pipeline is None
|
193 |
or self.previous_model_id != model_id
|
|
|
188 |
) -> None:
|
189 |
self.device = device
|
190 |
self.use_openvino = use_openvino
|
191 |
+
print(f"use_openvino {self.use_openvino}")
|
192 |
+
print(f"is_openvino {is_openvino_device()}")
|
193 |
if (
|
194 |
self.pipeline is None
|
195 |
or self.previous_model_id != model_id
|
frontend/webui/hf_demo.py
CHANGED
@@ -39,7 +39,7 @@ def predict(
|
|
39 |
model_id=LCM_DEFAULT_MODEL_OPENVINO,
|
40 |
use_lora=False,
|
41 |
lcm_lora=lcm_lora,
|
42 |
-
use_openvino=True
|
43 |
)
|
44 |
|
45 |
lcm_diffusion_setting = LCMDiffusionSetting()
|
|
|
39 |
model_id=LCM_DEFAULT_MODEL_OPENVINO,
|
40 |
use_lora=False,
|
41 |
lcm_lora=lcm_lora,
|
42 |
+
use_openvino=True,
|
43 |
)
|
44 |
|
45 |
lcm_diffusion_setting = LCMDiffusionSetting()
|