Skip to content

Gradio UI for insightface inswapper with additional features

Notifications You must be signed in to change notification settings

Lesteriax/Swap-Mukham

 
 

Repository files navigation

Swap-Mukham

Open In Colab Hugging Face

Description

A simple face swapper based on insightface inswapper heavily inspired by roop.

Features

  • Easy to use Gradio gui
  • Support Image, Video, Directory inputs
  • Swap specific face (face recognition)
  • Video trim tool
  • Face enhancer (GFPGAN, Real-ESRGAN)
  • Face parsing mask
  • colab support
swap-mukham-demo.mp4

Comparison

10

Installation

CPU Install

git clone https://github.com/harisreedhar/Swap-Mukham
cd Swap-Mukham
conda create -n swapmukham python=3.10 -y
conda activate swapmukham
pip install torch==2.0.0+cpu torchvision==0.15.1+cpu torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cpu
pip install -r requirements_cpu.txt
python app.py

GPU Install (CUDA)

git clone https://github.com/harisreedhar/Swap-Mukham
cd Swap-Mukham
conda create -n swapmukham python=3.10 -y
conda activate swapmukham
conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 pytorch-cuda=11.8 -c pytorch -c nvidia
pip install -r requirements.txt
python app.py --cuda --batch_size 32

Download Models

Disclaimer

We would like to emphasize that our deep fake software is intended for responsible and ethical use only. We must stress that users are solely responsible for their actions when using our software.

  1. Intended Usage: Our deep fake software is designed to assist users in creating realistic and entertaining content, such as movies, visual effects, virtual reality experiences, and other creative applications. We encourage users to explore these possibilities within the boundaries of legality, ethical considerations, and respect for others' privacy.

  2. Ethical Guidelines: Users are expected to adhere to a set of ethical guidelines when using our software. These guidelines include, but are not limited to:

Not creating or sharing deep fake content that could harm, defame, or harass individuals. Obtaining proper consent and permissions from individuals featured in the content before using their likeness. Avoiding the use of deep fake technology for deceptive purposes, including misinformation or malicious intent. Respecting and abiding by applicable laws, regulations, and copyright restrictions.

  1. Privacy and Consent: Users are responsible for ensuring that they have the necessary permissions and consents from individuals whose likeness they intend to use in their deep fake creations. We strongly discourage the creation of deep fake content without explicit consent, particularly if it involves non-consensual or private content. It is essential to respect the privacy and dignity of all individuals involved.

  2. Legal Considerations: Users must understand and comply with all relevant local, regional, and international laws pertaining to deep fake technology. This includes laws related to privacy, defamation, intellectual property rights, and other relevant legislation. Users should consult legal professionals if they have any doubts regarding the legal implications of their deep fake creations.

  3. Liability and Responsibility: We, as the creators and providers of the deep fake software, cannot be held responsible for the actions or consequences resulting from the usage of our software. Users assume full liability and responsibility for any misuse, unintended effects, or abusive behavior associated with the deep fake content they create.

By using our deep fake software, users acknowledge that they have read, understood, and agreed to abide by the above guidelines and disclaimers. We strongly encourage users to approach deep fake technology with caution, integrity, and respect for the well-being and rights of others.

Remember, technology should be used to empower and inspire, not to harm or deceive. Let's strive for ethical and responsible use of deep fake technology for the betterment of society.

Acknowledgements

Loved my work?

"Buy Me A Coffee"

License

MIT

About

Gradio UI for insightface inswapper with additional features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.5%
  • Jupyter Notebook 5.5%