Update inference_manager.py
Browse files- inference_manager.py +1 -1
inference_manager.py
CHANGED
@@ -220,7 +220,7 @@ class InferenceManager:
|
|
220 |
load_time = round(time.time() - start, 2)
|
221 |
print(f"Base model loaded in {load_time}s")
|
222 |
|
223 |
-
if cfg.get("load_ip_adapter_faceid", False)
|
224 |
if model_version in ("pony", "xl"):
|
225 |
ip_ckpt = self.ext_model_pathes.get("ip-adapter-faceid-sdxl", "")
|
226 |
if ip_ckpt:
|
|
|
220 |
load_time = round(time.time() - start, 2)
|
221 |
print(f"Base model loaded in {load_time}s")
|
222 |
|
223 |
+
if cfg.get("load_ip_adapter_faceid", False): #!!the pipeline can not be used independently anymore
|
224 |
if model_version in ("pony", "xl"):
|
225 |
ip_ckpt = self.ext_model_pathes.get("ip-adapter-faceid-sdxl", "")
|
226 |
if ip_ckpt:
|