File size: 501 Bytes
f592f80
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/zsh
set -e
cd "${0:A:h}"
RES="$PWD/dist/AFFECTOR.app/Contents/Resources"
export PYTHONHOME="$RES/Python.framework/Versions/3.14"
export PYTHONPATH="$RES/packages"
export HF_HOME="$HOME/Library/Caches/AFFECTOR/huggingface"
export AFFECTOR_MODEL="$RES/engine/.hf/hub/models--Qwen--Qwen3.5-0.8B/snapshots/2fc06364715b967f1860aea9cf38778875588b17"
export PYTHONNOUSERSITE=1
export PYTHONDONTWRITEBYTECODE=1
export PYTORCH_ENABLE_MPS_FALLBACK=1
exec "$PYTHONHOME/bin/python3.14" -u engine/bridge.py