nsfwalex commited on
Commit
3f001ad
1 Parent(s): 8b0d54f

Update inference_manager.py

Browse files
Files changed (1) hide show
  1. 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) and False: #!TEST! disable ip adapter
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: