Downloads · 30 days
0
ninjawick/webui-faceswap-unlocked
webui-faceswap-unlocked is a machine learning model from ninjawick. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
The main objective of this extension is to enable face swapping for single images in stable diffusion.
Downloads · 30 days
0
Access
Public
Updated Feb 4, 2024
Repo size
1.9 GB
Likes
30
Public
Click a slice to open those files.
.onnx1.7 GB · 89%
From the Hugging Face model README
The main objective of this extension is to enable face swapping for single images in stable diffusion.
To ensure compatibility, this extension currently runs only on CPU. However, it can be easily ported to GPU for improved performance.

This extension is not intended to allow the generation of nsfw content or deepfake content. Any modification of the code to enable the generation of such content is prohibited. Any explanation on this repository of how to disable protection will be removed.
The code will follow European regulations in place for this type of software. In particular, visible or invisible watermarks may be integrated if required by law. You must not use this extension if your country's legislation prohibits it.
To install the extension, follow these steps:
On Windows, Microsoft Visual C++ 14.0 or greater is required. During the install, make sure to include the Python and C++ packages.
The inswapper_128.onnx model I use has the following sha1sum : 17a64851eaefd55ea597ee41e5c18409754244c5
Use of the models must comply with their respective terms of the license (see insightface repository). No model will be directly provided or hosted here.
To use the FaceSwap extension, follow these instructions:
You can choose to activate the swap on the source image or on the generated image, or on both. Activate on source image allows you to start from a given base and apply the diffusion process to it.
Inpainting should work but only the masked part will be swapped.