{ "cells": [ { "cell_type": "markdown", "source": [ "---\n", "\n", "📌 **This notebook has been updated [here](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/tree/master)!**\n", "\n", "🖋 **Author**: [jhj0517](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/blob/master/notebooks/advanced_live_portrait_webui.ipynb)\n", "\n", "😎 **Support the Project**:\n", "\n", "If you find this project useful, please consider supporting it:\n", "\n", "\n", " \"Buy\n", "\n", "\n", "---" ], "metadata": { "id": "doKhBBXIfS21" } }, { "cell_type": "code", "source": [ "#@title #(Optional) Check GPU\n", "#@markdown Some models may not function correctly on a CPU runtime.\n", "\n", "#@markdown so you should check your GPU setup before run.\n", "!nvidia-smi" ], "metadata": { "id": "23yZvUlagEsx" }, "execution_count": null, "outputs": [] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "kNbSbsctxahq", "cellView": "form" }, "outputs": [], "source": [ "#@title #Installation\n", "#@markdown This cell will install dependencies for [AdvancedLivePortrait-WebUI](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/tree/master)!\n", "\n", "!git clone https://github.com/jhj0517/AdvancedLivePortrait-WebUI.git\n", "%cd AdvancedLivePortrait-WebUI\n", "!pip install lmdb\n", "!pip install ultralytics\n", "!pip install tyro\n", "!pip install dill\n", "!pip install gradio-i18n\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "PQroYRRZzQiN", "cellView": "form" }, "outputs": [], "source": [ "#@title #Run\n", "#@markdown Once the installation is complete, you can use public URL that is displayed.\n", "\n", "!python app.py --share" ] } ], "metadata": { "colab": { "provenance": [], "gpuType": "T4" }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" }, "accelerator": "GPU" }, "nbformat": 4, "nbformat_minor": 0 }