dennny123 Claude Sonnet 4.5 commited on
Commit
4f7f42e
·
1 Parent(s): ee1f99c

Pin ComfyUI-Impact-Pack to exact commit from reference workflow

Browse files

- Use commit 61bd8397a18e7e7668e6a24e95168967768c2bed
- This matches the Impact Pack version used in the original Synthid_Bypass workflow
- Ensures FaceDetailer accepts the original parameter values/types
- Reverted previous parameter "fixes" since they're unnecessary with correct version

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -45,11 +45,19 @@ def setup():
45
  ]
46
  custom_nodes_path = os.path.join(COMFYUI_DIR, "custom_nodes")
47
  os.makedirs(custom_nodes_path, exist_ok=True)
 
 
 
 
48
  for url in nodes:
49
  name = url.split("/")[-1]
50
  node_dest = os.path.join(custom_nodes_path, name)
51
  if not os.path.exists(node_dest):
52
  subprocess.run(["git", "clone", url, node_dest], check=True)
 
 
 
 
53
 
54
  # 3. Models Download logic (Using hf_transfer for speed)
55
  model_configs = [
 
45
  ]
46
  custom_nodes_path = os.path.join(COMFYUI_DIR, "custom_nodes")
47
  os.makedirs(custom_nodes_path, exist_ok=True)
48
+
49
+ # Pin Impact Pack to exact commit used in reference workflow
50
+ IMPACT_PACK_COMMIT = "61bd8397a18e7e7668e6a24e95168967768c2bed"
51
+
52
  for url in nodes:
53
  name = url.split("/")[-1]
54
  node_dest = os.path.join(custom_nodes_path, name)
55
  if not os.path.exists(node_dest):
56
  subprocess.run(["git", "clone", url, node_dest], check=True)
57
+ # Checkout specific commit for Impact Pack to match reference workflow
58
+ if "Impact-Pack" in name:
59
+ subprocess.run(["git", "checkout", IMPACT_PACK_COMMIT], cwd=node_dest, check=True)
60
+ print(f"Pinned Impact Pack to commit {IMPACT_PACK_COMMIT}")
61
 
62
  # 3. Models Download logic (Using hf_transfer for speed)
63
  model_configs = [