This is semi-custom implementation of faceswap as a Cog model, based on the original code of roop. Cog packages machine learning models as standard containers.
First, download the pre-trained weights:
cog build -t faceswap
Then, you can run predictions:
cog predict -i [email protected] -i [email protected]
Example output for sample inputs: