Run locally
The instructions below are tested on an RTX 4090 on WSL2 Ubuntu 22.04. Instructions will differ and may not work, depending on your setup.
- Install
git
,python 3.10
, andcuda
if not already installed. - Open your terminal.
- Clone your space repository, replacing the URL below with your space URL.
git clone https://huggingface.co/spaces/dylanebert/LGM-tiny
- Navigate into the space folder.
cd LGM-tiny
- Create a virtual environment and install necessary dependencies.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Run the demo.
python app.py