Dedicated gradio based WebUI started from ComfyUI-AdvancedLivePortrait.
You can edit the facial expression from the image.
https://github.com/user-attachments/assets/cce42397-e898-4efb-9de8-735e050a10ce
You can try it in Colab
3.9
<= python
<= 3.12
: https://www.python.org/downloads/release/python-3110/FFmpeg
: https://ffmpeg.org/download.html FFmpeg
, make sure to add the FFmpeg/bin folder to your system PATH!
git clone https://github.com/jhj0517/AdvancedLivePortrait-WebUI.git
requirements-cpu.txt
if you're not using Nvidia GPU. )
pip install -r requirements.txt
python app.py
There're PowerShell scripts for each purpose : Install.ps1
, Start-WebUI.ps1
and Update.ps1
.
They do the same things as above with venv
, creating, activating venv
and running the app etc.
If you're using Windows, right-click the script and then click on Run with PowerShell.
git clone https://github.com/jhj0517/AdvancedLivePortrait-WebUI.git
docker compose -f docker/docker-compose.yaml build
docker compose -f docker/docker-compose.yaml up
http://localhost:7860/
in browser.Update the docker-compose.yaml
to match your environment if you're not using an Nvidia GPU.
Any PRs for language translation for translation.yaml
would be greatly appreciated!
@article{guo2024liveportrait,
title = {LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control},
author = {Guo, Jianzhu and Zhang, Dingyun and Liu, Xiaoqiang and Zhong, Zhizhou and Zhang, Yuan and Wan, Pengfei and Zhang, Di},
journal = {arXiv preprint arXiv:2407.03168},
year = {2024}
}