Files
lektor-ai/start_comfyui.sh
T

8 lines
336 B
Bash
Raw Normal View History

#!/bin/bash
source ~/miniforge3/etc/profile.d/conda.sh
conda activate comfy-tts
# exec: the shell is replaced by ComfyUI, so this script's PID is
# ComfyUI's PID. Without it the launcher only ever sees a wrapper,
# and killing that orphans the python still holding the GPU.
cd ~/comfy-tts-app/ComfyUI && exec python main.py --port 8189