This is an implementation of inpainting using the model invisiblecat/Uber_Realistic_Porn_Merge_V1.3_inpainting as a Cog model. Cog packages machine learning models as standard containers.
First, download the pre-trained weights:
cog run script/download-weights
Then, you can run predictions:
cog predict -i image=@demo.png -i mask=@mask.png
Input - "a tabby cat, high resolution, sitting on a park bench"
Output: