stabletable25 commited on
Commit
14b202b
·
verified ·
1 Parent(s): 75db9a9

Update installcomfyv2.sh

Browse files
Files changed (1) hide show
  1. installcomfyv2.sh +19 -0
installcomfyv2.sh CHANGED
@@ -49,6 +49,25 @@ info "Pinning transformers==4.52…"
49
  if pip show transformers >/dev/null 2>&1; then pip uninstall -y transformers; fi
50
  pip install --no-cache-dir transformers==4.52
51
  # ---------------------------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  # Helper for idempotent downloads
53
  # ---------------------------------------------------------------------------
54
  download() {
 
49
  if pip show transformers >/dev/null 2>&1; then pip uninstall -y transformers; fi
50
  pip install --no-cache-dir transformers==4.52
51
  # ---------------------------------------------------------------------------
52
+ # ---------------------------------------------------------------------------
53
+ # Custom node: Crystools
54
+ # ---------------------------------------------------------------------------
55
+ # Installs crystian/ComfyUI-Crystools into ComfyUI/custom_nodes and its Python deps
56
+ CRYSTOOLS_DIR="$COMFY_DIR/custom_nodes/comfyui-crystools"
57
+ info "Installing/Updating Crystools custom node…"
58
+
59
+ if [[ -d "$CRYSTOOLS_DIR/.git" ]]; then
60
+ info "Updating existing Crystools repo…"
61
+ git -C "$CRYSTOOLS_DIR" pull --rebase --autostash
62
+ else
63
+ info "Cloning Crystools into custom_nodes…"
64
+ git clone --depth 1 https://github.com/crystian/ComfyUI-Crystools.git "$CRYSTOOLS_DIR"
65
+ fi
66
+
67
+ if [[ -f "$CRYSTOOLS_DIR/requirements.txt" ]]; then
68
+ info "Installing Crystools Python requirements…"
69
+ pip install --no-cache-dir -r "$CRYSTOOLS_DIR/requirements.txt"
70
+ fi
71
  # Helper for idempotent downloads
72
  # ---------------------------------------------------------------------------
73
  download() {