Spaces:
Running
Running
File size: 487 Bytes
e1f5588 7383247 e1f5588 771b323 7383247 e1f5588 e78a6df 7383247 e78a6df 13100ea 7383247 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
---
title: Asset Choice Simulation
emoji: 📈
colorFrom: gray
colorTo: blue
sdk: docker
pinned: false
app_build_command: npm run build
app_file: Dockerfile
---
This Space runs a FastAPI backend and serves a Vite/React frontend built into `/dist`.
- Backend: `server.py` exposes `/api/*`
- Frontend: built by Vite, mounted at `/`
- Data persistence: Hugging Face Hub Dataset repo via `HF_TOKEN` + `STORE_REPO`.
Run locally:
```
npm install
npm run build
uvicorn server:app --reload
``` |