This is an implementation of the Stable Diffusion Inpainting as a Cog model. Cog packages machine learning models as standard containers.
First, download the pre-trained weights with your Hugging Face auth token:
cog run script/download-weights <your-hugging-face-auth-token>
Then, you can run predictions:
cog predict -i prompt="a herd of grazing sheep" -i [email protected] -i [email protected]
To push a new version you need to be @andreasjansson. If you are, then run
./test_and_push.sh