Update wanForProduction.sh
Browse files- wanForProduction.sh +2 -24
wanForProduction.sh
CHANGED
|
@@ -57,6 +57,8 @@ DOWNLOAD_FILES=(
|
|
| 57 |
"mega://https://mega.nz/file/wcAFhRJZ#ifZcckts0wPq1FG693tYLkpFrvjXvab1ZQeL6DuL1T8|loras|"
|
| 58 |
"mega://https://mega.nz/file/wNIgmRwb#vn6rKM3QuTDpWVTLEBDsKjIkNkaX2wLKeauKNeVkcFs|loras|"
|
| 59 |
"mega://https://mega.nz/file/hZhhhCQS#4je0Im2g1kEvTCuPotjVWkA-g6XICkqMb-mKxMt6R3Y|loras|"
|
|
|
|
|
|
|
| 60 |
)
|
| 61 |
|
| 62 |
# Custom nodes (do CODE2)
|
|
@@ -509,30 +511,6 @@ done
|
|
| 509 |
set -e
|
| 510 |
log_success "Custom nodes processados"
|
| 511 |
|
| 512 |
-
# Resumo final
|
| 513 |
-
log_info "========================================="
|
| 514 |
-
log_info "Verificando arquivos críticos..."
|
| 515 |
-
critical_missing=0
|
| 516 |
-
for required in \
|
| 517 |
-
"$COMFY_DIR/main.py" \
|
| 518 |
-
"$MODELS_DIR/vae/wan_2.1_vae.safetensors" \
|
| 519 |
-
"$MODELS_DIR/vae/Wan2_1_VAE_fp32.safetensors" \
|
| 520 |
-
"$MODELS_DIR/text_encoders/umt5_xxl_fp16.safetensors" \
|
| 521 |
-
"$MODELS_DIR/text_encoders/umt5-xxl-enc-bf16.safetensors" \
|
| 522 |
-
"$MODELS_DIR/clip_vision/clip_vision_h.safetensors"; do
|
| 523 |
-
if [[ -f "$required" ]]; then
|
| 524 |
-
log_success "✓ $(basename "$required")"
|
| 525 |
-
else
|
| 526 |
-
log_warn "✗ $(basename "$required") não encontrado"
|
| 527 |
-
((critical_missing++))
|
| 528 |
-
fi
|
| 529 |
-
done
|
| 530 |
-
|
| 531 |
-
if (( critical_missing == 0 )); then
|
| 532 |
-
log_success "Instalação concluída com sucesso!"
|
| 533 |
-
else
|
| 534 |
-
log_warn "Instalação finalizada com pendências; verifique avisos acima"
|
| 535 |
-
fi
|
| 536 |
|
| 537 |
SAGE_FLAG=""
|
| 538 |
if python3 - <<'PY' >/dev/null 2>&1
|
|
|
|
| 57 |
"mega://https://mega.nz/file/wcAFhRJZ#ifZcckts0wPq1FG693tYLkpFrvjXvab1ZQeL6DuL1T8|loras|"
|
| 58 |
"mega://https://mega.nz/file/wNIgmRwb#vn6rKM3QuTDpWVTLEBDsKjIkNkaX2wLKeauKNeVkcFs|loras|"
|
| 59 |
"mega://https://mega.nz/file/hZhhhCQS#4je0Im2g1kEvTCuPotjVWkA-g6XICkqMb-mKxMt6R3Y|loras|"
|
| 60 |
+
"mega://https://mega.nz/file/qdQwAJSC#rPY2Hg4x-_RbHiHUBFW-YU8xZUqPpq5Gpl1uPFiJvW4|upscale_models|"
|
| 61 |
+
"mega://https://mega.nz/file/KIh2marA#CehVNXxQhGfp1bqUL0K1YPWNqrCUoLPCZGq2W6XqmWo|upscale_models|"
|
| 62 |
)
|
| 63 |
|
| 64 |
# Custom nodes (do CODE2)
|
|
|
|
| 511 |
set -e
|
| 512 |
log_success "Custom nodes processados"
|
| 513 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 514 |
|
| 515 |
SAGE_FLAG=""
|
| 516 |
if python3 - <<'PY' >/dev/null 2>&1
|