| # Get the directory where the script is located | |
| SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |
| # Enable MPS fallback for macOS Apple Silicon | |
| export PYTORCH_ENABLE_MPS_FALLBACK=1 | |
| # Run the python script with uv using existing .venv | |
| cd "$SCRIPT_DIR" && VIRTUAL_ENV="$SCRIPT_DIR/.venv" uv run --no-sync talk.py "$@" | |