- Clone the repo, and pip install everything in
requirements.txt,requirements-dev.txt, andenvironment.txt. - Set the printer device name (use
lpstat -ato find) here. - Start the print server by
cding intoprint-serverand runningpython -m print_server - Set the Photobooth to POST photos to https://dreambooth.vercel.app/api/media
pip install -r requirements.txt -r requirements-dev.txt -r environment.txt
pip install modal loguru controlnet_aux cloudpathlib "pydantic<2"
git clone https://github.com/ZhaoJ9014/face.evoLVe.PyTorch.git /Users/yasyf/.virtualenvs/dreambooth-serverless/lib/python3.11/site-packages/face_evolve
pip install git+https://github.com/tencent-ailab/IP-Adapter.git
modal setup --profile rootvc
Docker -> Depot -> DockerHub
./scripts/build_image_local.sh
DockerHub -> Modal
MODAL_PROFILE=rootvc modal deploy one_shot::stub