rvc_api / webui-macos-env.sh
aryo100's picture
first commit
b5a064f
raw
history blame contribute delete
562 Bytes
#!/bin/bash
####################################################################
# macOS defaults #
# Please modify webui-user.sh to change these instead of this file #
####################################################################
if [[ -x "$(command -v python3.10)" ]]
then
python_cmd="python3.10"
fi
export COMMANDLINE_ARGS=""
export TORCH_COMMAND="pip install torch torchvision torchaudio"
export PYTORCH_ENABLE_MPS_FALLBACK=1
####################################################################