Spaces:
Running
Running
| 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 | |
| ``` |