# Run locally

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://githubtocolab.com/dylanebert/ml-for-3d-course-notebooks/blob/main/capstone.ipynb)

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.

```bash
git clone https://huggingface.co/spaces/dylanebert/LGM-tiny
```

4. Navigate into the space folder.

```bash
cd LGM-tiny
```

5. Create a virtual environment and install necessary dependencies.

```bash
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```

6. Run the demo.

```bash
python app.py
```

