
Please register for RunPod at: https://runpod.io?ref=1aka98lq

Select a GPU with a minimum of 24 GB VRAM, such as the RTX 3090.

Choose a RunPod template:

RunPod Pytorch 2.2.0
runpod/pytorch:2.2.0-py3.10-cuda12.1.1-devel-ubuntu22.04

Edit the pod configuration:
Set the volume disk size to 50 GB or your preferred size according to number of models you want to download or such.

Add HTTP port 7861 to the exposed ports list to enable proxy connection.
By default, it will start with the --share option for Gradio sharing.

Upload all files to the workspace folder.

To install, run the following commands:

cd /workspace
export HF_HOME="/workspace"
chmod +x RunPod_Install.sh
./RunPod_Install.sh

This will install everything fully automatically

To use after installation:

You don't have to do above steps anymore once you done them

Then whenever you want to use roop-unleashed deepfake

Open a new terminal inside the main roop-unleashed folder in your workspace as shown in tutorial video

Execute below commands

cd /workspace/roop-unleashed
source ./venv/bin/activate
python run.py

If you don't want gradio share, edit the settings.py and make share False before starting with above command

After you have turned off the pod or restarted the pod execute below commands 1 time. Do this after each restart or turned off pod and started again
Copy all and paste and hit enter at once

apt update

yes | apt-get install -y python3.10-tk

yes | apt-get install ffmpeg

yes | apt-get install p7zip-full