Thursday, August 24, 2023

Add AI Filters to Face - Install Face Fusion Locally

 This video tutorial shows you how to install FaceFusion locally for face swapping, face enhancement in AI for free.




Commands Used:


!git clone https://github.com/facefusion/facefusion
!pip install onnxruntime-gpu && pip install -r /content/facefusion/requirements.txt


%cd "/content/facefusion"
!ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa <<<y >/dev/null 2>&1
!ssh-keyscan -t rsa remote.moe >> ~/.ssh/known_hosts
!python run.py --execution-providers cuda & ssh -R 80:localhost:7860 remote.moe

No comments: