Skip to content

andreasjansson/cog-stable-diffusion-inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Inpainting Cog model

Replicate

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 image=@desktop.png -i mask=@desktop-mask.png

To push a new version you need to be @andreasjansson. If you are, then run

./test_and_push.sh

About

Inpainting using RunwayML's stable-diffusion-inpainting checkpoint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published