This commit reorganizes the "/workflows" directory in preparation for
the upcoming version 2.0 release. Previous workflow files have been
temporarily moved to a subdirectory named "__old" and will be removed
after the transition period.
The new directory now includes three subdirs ("BF16", "FP8", and "GGUF")
grouping workflows by checkpoint type. Workflows are created in "/GGUF"
and automatically converted to other formats (BF16 and FP8) using a script
called "convert.sh".
Additionally, the "/scripts/wfmigrator.py" script has been implemented to
handle these conversion operations internally.
25 lines
1.2 KiB
Bash
Executable File
25 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# File : wfmigrator.sh
|
|
# Purpose : Wrapper for `wfmigrator.py` to launch the python script
|
|
# Author : Martin Rizzo | <martinrizzo@gmail.com>
|
|
# Date : Apr 2, 2026
|
|
# Repo : https://github.com/martin-rizzo/ComfyUI-ZImagePowerNodes
|
|
# License : MIT
|
|
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# ComfyUI-ZImagePowerNodes
|
|
# ComfyUI nodes designed specifically for the "Z-Image" model.
|
|
#_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
SCRIPT_NAME=$(basename "${BASH_SOURCE[0]}" .sh) # script name without extension
|
|
SCRIPT_DIR=$(realpath "$(dirname "${BASH_SOURCE[0]}")") # script directory
|
|
PYTHON_SCRIPT="${SCRIPT_DIR}/${SCRIPT_NAME}.py" # path to python script to run
|
|
|
|
# Environment variables
|
|
# PYTHON : specifies the path to the Python interpreter; default is `python3`
|
|
[[ "$PYTHON" ]] || PYTHON=python3
|
|
|
|
#===========================================================================#
|
|
#////////////////////////////////// MAIN ///////////////////////////////////#
|
|
#===========================================================================#
|
|
|
|
"$PYTHON" "$PYTHON_SCRIPT" "$@"
|