--- license: apache-2.0 tags: - portrait-animation - real-time - diffusion pipeline_tag: image-to-video library_name: diffusers ---
|
|
We present PersonaLive, a `real-time` and `streamable` diffusion framework capable of generating `infinite-length` portrait animations on a single `12GB GPU`.
## ๐ Getting Started
### ๐ Installation
```
# clone this repo
git clone https://github.com/GVCLab/PersonaLive
cd PersonaLive
# Create conda environment
conda create -n personalive python=3.10
conda activate personalive
# Install packages with pip
pip install -r requirements_base.txt
```
### โฌ Download weights
Option 1: Download pre-trained weights of base models and other components ([sd-image-variations-diffusers](https://huggingface.co/lambdalabs/sd-image-variations-diffusers) and [sd-vae-ft-mse](https://huggingface.co/stabilityai/sd-vae-ft-mse)). You can run the following command to download weights automatically:
```bash
python tools/download_weights.py
```
Option 2: Download pre-trained weights into the `./pretrained_weights` folder from one of the below URLs: