roop-floyd / README.md
munan2003's picture
Upload folder using huggingface_hub
4f58dfd verified
|
raw
history blame
2.3 kB
metadata
title: roop-floyd
app_file: run.py
sdk: gradio
sdk_version: 4.4.1

roop-floyd

The Original Count Floyd Addition to ROOP saved for posterity

Features

  • Platform-independant Browser GUI
  • Selection of multiple input/output faces in one go
  • Many different swapping modes, first detected, face selections, by gender
  • Batch processing of images/videos
  • Masking of face occluders using text prompts or automatically
  • Optional Face Upscaler/Restoration using different enhancers
  • Preview swapping from different video frames
  • Live Fake Cam using your webcam
  • Extras Tab for cutting videos etc.
  • Settings - storing configuration for next session
  • Theme Support

and lots more...

Disclaimer

This project is for technical and academic use only. Users of this software are expected to use this software responsibly while abiding the local law. If a face of a real person is being used, users are suggested to get consent from the concerned person and clearly mention that it is a deepfake when posting content online. Developers of this software will not be responsible for actions of end-users. Please do not apply it to illegal and unethical scenarios.

In the event of violation of the legal and ethical requirements of the user's country or region, this code repository is exempt from liability

Installation

Google Colab by

  1. download roop-floyd.iypnb

Local Machine

  1. git clone https://codeberg.org/Cognibuild/ROOP-FLOYD/
  2. cd ROOP-FLOYD
  3. python -m venv venv && call venv/scripts/activate
  4. (FOR NVIDIA) conda install -c nvidia cudatoolkit=11.8 -y
  5. (FOR AMD) pip install onnxruntime-directml
  6. pip install -r requirementspip install onnxruntime-directml.txt
  7. pip install --upgrade gradio --force
  8. pip install --upgrade fastapi pydantic
  9. pip install "numpy<2.0"
  10. python run.py

NOTE: This installation assumes a proper installation of your system. Including python, miniconda, git, ffmpeg, VSBuildTools2019

A free system checker can be found here: https://www.patreon.com/posts/automated-system-117200313

An AI System Setup Script can be acquired here: https://www.patreon.com/posts/117210030

Usage

  • Windows: Activate the virtual environment and run python run.py