Run locally

Open In Colab

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.

  1. Install git, python 3.10, and cuda if not already installed.
  2. Open your terminal.
  3. Clone your space repository, replacing the URL below with your space URL.
git clone https://huggingface.co/spaces/dylanebert/LGM-tiny
  1. Navigate into the space folder.
cd LGM-tiny
  1. Create a virtual environment and install necessary dependencies.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Run the demo.
python app.py
< > Update on GitHub