Spaces:
Running on T4
Running on T4
File size: 1,054 Bytes
d331b50 b1d1ff4 d331b50 7cc3082 d331b50 b1d1ff4 d331b50 b1d1ff4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ---
title: Floor Visualizer
emoji: 🏆
colorFrom: indigo
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
license: mit
short_description: Visualize custom texture or tiles on your floor
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Local setup
The Python virtual environment is disposable. To recreate it after deleting `.venv`,
use the platform-specific commands in [SETUP.md](SETUP.md).
Quick macOS CPU run:
```bash
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements-mac.txt
VISUALIZER_CONFIG=visualizer.local.toml uvicorn app:app --host 0.0.0.0 --port 8002
```
GPU run:
```bash
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install --index-url https://download.pytorch.org/whl/cu126 torch==2.7.0 torchvision==0.22.0
python -m pip install -r requirements-base.txt
VISUALIZER_CONFIG=visualizer.gpu.toml uvicorn app:app --host 0.0.0.0 --port 8002
```
|