{"id":20544740,"url":"https://github.com/jhj0517/advancedliveportrait-webui","last_synced_at":"2025-04-11T23:19:49.220Z","repository":{"id":261471945,"uuid":"883714299","full_name":"jhj0517/AdvancedLivePortrait-WebUI","owner":"jhj0517","description":"gradio WebUI for AdvancedLivePortrait","archived":false,"fork":false,"pushed_at":"2025-03-13T11:18:41.000Z","size":196,"stargazers_count":477,"open_issues_count":6,"forks_count":43,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T23:19:44.479Z","etag":null,"topics":["advancedliveportrait","ai","deeplearning","facial-recognition","gradio","liveportrait","open-source","python","torch","webui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhj0517.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":[],"patreon":null,"open_collective":null,"ko_fi":"jhj0517","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-11-05T12:57:17.000Z","updated_at":"2025-04-11T01:23:34.000Z","dependencies_parsed_at":"2024-11-23T02:01:21.487Z","dependency_job_id":"09a40fcd-ad41-40b5-8f16-1e27a463dd0b","html_url":"https://github.com/jhj0517/AdvancedLivePortrait-WebUI","commit_stats":null,"previous_names":["jhj0517/advancedliveportrait-webui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2FAdvancedLivePortrait-WebUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2FAdvancedLivePortrait-WebUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2FAdvancedLivePortrait-WebUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhj0517%2FAdvancedLivePortrait-WebUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhj0517","download_url":"https://codeload.github.com/jhj0517/AdvancedLivePortrait-WebUI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492886,"owners_count":21113163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advancedliveportrait","ai","deeplearning","facial-recognition","gradio","liveportrait","open-source","python","torch","webui"],"created_at":"2024-11-16T01:48:35.925Z","updated_at":"2025-04-11T23:19:49.200Z","avatar_url":"https://github.com/jhj0517.png","language":"Python","funding_links":["https://ko-fi.com/jhj0517"],"categories":[],"sub_categories":[],"readme":"# AdvancedLivePortrait-WebUI\n\nDedicated gradio based WebUI started from [LivePortrait](https://github.com/KwaiVGI/LivePortrait) and [ComfyUI-AdvancedLivePortrait](https://github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait). \n\u003cbr\u003eYou can edit the facial expression from the image.\n\nhttps://github.com/user-attachments/assets/9946a969-599b-4fca-8d83-7915cb7c4a00\n\n\n## Notebook\nYou can try it in Colab \n\n[![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/jhj0517/AdvancedLivePortrait-WebUI/blob/master/notebooks/advanced_live_portrait_webui.ipynb)\n[![Hugging Face Spaces](https://img.shields.io/badge/🤗-Open%20In%20Spaces-blue.svg)](https://huggingface.co/spaces/jhj0517/AdvancedLivePortrait-WebUI)\n\n\n# Installation And Running\n### Prerequisite\n1. `3.9` \u003c= `python` \u003c= `3.12` : https://www.python.org/downloads/release/python-3110/\n2. **(Opitonal, only if you're using Nvidia GPU)** CUDA 12.4 : https://developer.nvidia.com/cuda-12-4-0-download-archive?target_os=Windows\n3. (Optional, only needed if you use Video Driven) `FFmpeg`:  https://ffmpeg.org/download.html \u003cbr\u003e After installing `FFmpeg`, make sure to add the FFmpeg/bin folder to your **system PATH**!\n## Run Locally\n1. git clone this repository\n```\ngit clone https://github.com/jhj0517/AdvancedLivePortrait-WebUI.git\n```\n2. Install dependencies ( Use `requirements-cpu.txt` if you're not using Nvidia GPU. )\n```\npip install -r requirements.txt\n```\n3. Run app\n```\npython app.py\n```\n\n## Run with PowerShell\nThere're PowerShell scripts for each purpose : [`Install.ps1`](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/blob/master/Install.ps1), [`Start-WebUI.ps1`](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/blob/master/Start-WebUI.ps1) and [`Update.ps1`](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/blob/master/Update.ps1).\n\u003cbr\u003e They do the same things as above with `venv`, creating, activating `venv` and running the app etc.\n\nIf you're using Windows, right-click the script and then click on ***Run with PowerShell***.\n\n## Run with Docker\n1. git clone this repository\n```\ngit clone https://github.com/jhj0517/AdvancedLivePortrait-WebUI.git\n```\n2. Build the image\n```\ndocker compose -f docker/docker-compose.yaml build\n```\n3. Run the container\n```\ndocker compose -f docker/docker-compose.yaml up\n```\n4. Connect to `http://localhost:7860/` in browser.\n\nUpdate the [`docker-compose.yaml`](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/blob/master/docker/docker-compose.yaml) to match your environment if you're not using an Nvidia GPU.\n\n### 🌐 Translation \nAny PRs for language translation for [`translation.yaml`](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/blob/master/i18n/translation.yaml) would be greatly appreciated!\n\n## ❤️ Acknowledgement\n1. LivePortrait paper comes from\n```bibtex\n@article{guo2024liveportrait,\n  title   = {LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control},\n  author  = {Guo, Jianzhu and Zhang, Dingyun and Liu, Xiaoqiang and Zhong, Zhizhou and Zhang, Yuan and Wan, Pengfei and Zhang, Di},\n  journal = {arXiv preprint arXiv:2407.03168},\n  year    = {2024}\n}\n```\n2. The models are safetensors that have been converted by kijai. : https://github.com/kijai/ComfyUI-LivePortraitKJ\n3. [ultralytics](https://github.com/ultralytics/ultralytics) is used to detect the face.\n4. This WebUI is started from [ComfyUI-AdvancedLivePortrait](https://github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait), various facial expressions like AAA, EEE, Eyebrow, Wink are found by PowerHouseMan.\n5. [RealESRGAN](https://github.com/xinntao/Real-ESRGAN) is used for image restoration.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhj0517%2Fadvancedliveportrait-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhj0517%2Fadvancedliveportrait-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhj0517%2Fadvancedliveportrait-webui/lists"}