- Python 3.8+
- Internet connection (for model downloads)
- Optional: NVIDIA GPU with CUDA for better performance
git clone https://github.com/Userfrom1995/FaceSwapLive.git
cd FaceSwapLive
pip install -r requirements.txt
python app.pyOpen the displayed URL in your browser.
- Open: https://colab.research.google.com/github/Userfrom1995/FaceSwapLive/blob/main/FaceSwapLive.ipynb
- Run all cells
- Replace the ngrok token placeholder with your token from https://dashboard.ngrok.com
GPU mode (default): Faster processing, requires NVIDIA GPU with CUDA CPU mode: Slower but works on any system
python app.py --no-gpuTwo models download automatically on first run:
inswapper_128.onnx(530MB) - Face swappingGFPGANv1.4.pth(332MB) - Face enhancement
If download fails, get them manually from models/instructions.txt
- Public Access: See Ngrok Setup
- Command Line Options: See Arguments Reference
- Configuration: See Configuration Reference
- Issues: See Troubleshooting