File size: 629 Bytes
a4a1a8a
 
 
 
 
 
 
 
 
 
a9d3d30
d402854
a4a1a8a
a9d3d30
a4a1a8a
cecc8f3
 
 
 
a9d3d30
 
a4a1a8a
 
 
 
 
 
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
---
title: SuperKart Forecast API
emoji: πŸ›’
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
---

# SuperKart Forecast API (Docker Space)

Flask API for sales forecasting (served with **gunicorn**).

## Endpoints
- `/` – service info
- `/health` – status & model path
- `/model-info` – model type & params
- `/predict` – POST JSON
- `/predict-csv` – POST CSV (multipart)

## Environment
- `MODEL_PATH` β†’ `/app/model/superkart_best_tuned_RandomForest.joblib`

## Notes
- This Space is **Docker-based** (`sdk: docker`).
- The container binds to `$PORT` (default **7860**). The Dockerfile runs: