Notes:
- [additional instructions for how to install additional models will come soon]
1) Download Models using Git LFS: https://git-lfs.com/
- Dreamshaper v7 LCM: https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7
- SDXL Turbo: https://huggingface.co/stabilityai/sdxl-turbo
- ControlNet for Canny Edge Detection: https://huggingface.co/lllyasviel/control_v11p_sd15_canny
git clone https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7
git clone https://huggingface.co/stabilityai/sdxl-turbo
git clone https://huggingface.co/lllyasviel/control_v11p_sd15_canny
MacOS: https://www.python.org/downloads/macos/ Windows: https://www.python.org/downloads/windows/
MacOS:
find your python versions in terminal:
ls /usr/local/bin/python*
then use the versions to create a python venv
{path here} -m venv SBRT_venv
activate the environment
source SBRT_venv/bin/activate
Windows:
find your python versions in cmd:
py -0p
then use the versions to create a python venv
{path here} -m venv SBRT_venv
activate the environment
SBRT_venv\Scripts\activate
git clone https://github.com/rmasiso/StableBoothRT
cd StableBoothRT
MacOS:
Install:
pip3 install torch torchvision torchaudio
or (preferrably to match dependencies in requirements.txt)
pip install torch==2.5.0 torchaudio==2.5.0 torchvision==0.20.0
then
pip install -r requirements_windows.txt
Windows:
for Cuda 12.1
pip3 install torch==2.5.0 torchaudio==2.5.0 torchvision==0.20.0 --index-url https://download.pytorch.org/whl/cu121
if you had already installed these before, use force-reinstall argument.
pip3 install --force-reinstall torch==2.5.0 torchaudio==2.5.0 torchvision==0.20.0 --index-url https://download.pytorch.org/whl/cu121
python app.py