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.
- 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
- Create a conda environment
conda create --name facedancer-webui
- Activate conda environment
conda activate facedancer-webui
- Follow Facedancer install guide here
Only follow the parts after the conda commands. Follow the guide on the webui conda environment
- Install gradio
pip install gradio
- 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.
- Launch the model within to prevent long loading times.
- Add webcam input
- Add model selector
- Add
liveconsole 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