File size: 698 Bytes
2de3774
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

cat <<EOF
Some systems fail to install the insightface module, which is why this is not
part of the default install.

Make sure you have a proper pyenv/virtualenv activated.

Press enter to continue...
EOF
read junk

pip install insightface==0.7.3 gfpgan==1.3.8 git+https://github.com/rodjjo/filterpy.git --require-virtualenv

cat <<EOF
pip done...


Now add this to settings/powerup.json

  "Faceswap": {
    "type": "faceswap"
  }

Download the required models to models\faceswap\:

https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth
and inswapper_128.onnx from where you can find it

You can find more info on the RuinedFooocus Github or Discord server.
EOF