Skip to content

This project is aimed to create an easy to use user interface for FaceDancer, just drag and drop your images/videos, it'll handle the rest.

License

Notifications You must be signed in to change notification settings

yussufbiyik/facedancer-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaceDancer WebUI

This project is aimed to create an easy to use user interface for FaceDancer, just drag and drop your images/videos, it'll handle the rest.

Screenshots

Screenshot of the app

Requirements

  • FaceDancer repository will be downloaded with the webui but you'll still need to follow their download guide here by openinng the terminal in the root directory of this project
  • Any facedancer model you want

Installation

  1. Create a conda environment
conda create --name facedancer-webui
  1. Activate conda environment
conda activate facedancer-webui
  1. Follow Facedancer install guide here

Only follow the parts after the conda commands. Follow the guide on the webui conda environment

  1. Install gradio
pip install gradio
  1. Run the app
python app.py
# Run with live reload using the following command if you want to edit the code
gradio app.py

This is my first time making a project like this, if you get errors please let me know and also manually install the packages that cause errors.

Todos

  • Launch the model within to prevent long loading times.
  • Add webcam input
  • Add model selector
  • Add live console output to UI
  • Add options to save as png, jpg, mp4 etc.
  • Move gif input to image box (edit: works just fine)
  • Add security related features (metadata injection, nsfw filter etc.)
  • Add GFPGAN etc. for face enhancing?
  • Create webui.bat to launch the webui automatically
  • Fix webui logging, can be fixed by passing something like {"value":f"{webUILogs.value}\nSource changed to {image_input_source.capitalize()}", "__type__": "update"} to webUILogs block, but {webUILogs.value} always returns the original value
  • Prevent UI elements from becoming too tall and crossing 100% height

About

This project is aimed to create an easy to use user interface for FaceDancer, just drag and drop your images/videos, it'll handle the rest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages