#!/bin/bash
if [ ! -d .venv ]; then
    python3 -m venv .venv
fi
source ./.venv/bin/activate
pip install -r requirements.txt

read -p "Path to model in ComfyUI: " model
python main.py --output ./output/ --playfile PlayFiles/examples_v4.yaml --comfyui_ip 192.168.7.1 --comfyui_port 8188 --extra-variable CHECKPOINT_NAME=${model}