github-actions commited on
Commit
d9d9ae6
Β·
1 Parent(s): 4084140

Auto deploy from GitHub Actions: 4aa44a5cb81686822558eeb4cc9b36904bbb7a4f

Browse files
Files changed (1) hide show
  1. README.md +20 -47
README.md CHANGED
@@ -1,47 +1,20 @@
1
- # Frontend (Streamlit)
2
-
3
- Modern Streamlit frontend for the Housing Price Predictor backend.
4
-
5
- ## Setup
6
-
7
- ```bash
8
- cd app/server
9
- pip install -r requirements.txt
10
- ```
11
-
12
- ## Run
13
-
14
- ```bash
15
- streamlit run app.py
16
- ```
17
-
18
- Frontend runs on `http://localhost:8501`
19
-
20
- ## Environment Variables
21
-
22
- Set the backend API URL (optional). `BACKEND_URL` is checked first, then `API_BASE_URL`:
23
-
24
- ```bash
25
- BACKEND_URL=http://localhost:8000 streamlit run app.py
26
- ```
27
-
28
- Defaults to `http://localhost:8000` if not set.
29
-
30
- ## Features
31
-
32
- - ✨ Single housing record prediction
33
- - πŸ“Š Batch predictions with JSON input
34
- - πŸ”„ Model reload capability
35
- - πŸ“ˆ Summary statistics for batch results
36
- - 🧾 Model metadata display (name, alias, version)
37
- - 🎨 Clean, modern Streamlit UI
38
- - ⚑ Real-time API status checks
39
- - 🧠 Session state management
40
-
41
- ## API Routes Used
42
-
43
- - `GET /health` - Health check and model state
44
- - `GET /model_info` - Loaded model metadata
45
- - `POST /predict` - Single prediction
46
- - `POST /predict_batch` - Batch predictions (`{"data": [HousingRecord, ...]}`)
47
- - `POST /reload_model` - Reload MLflow model
 
1
+ ---
2
+ title: HousingModel Server
3
+ emoji: πŸš€
4
+ colorFrom: red
5
+ colorTo: red
6
+ sdk: docker
7
+ app_port: 8501
8
+ tags:
9
+ - streamlit
10
+ pinned: false
11
+ short_description: Streamlit template space
12
+ license: mit
13
+ ---
14
+
15
+ # Welcome to Streamlit!
16
+
17
+ Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
18
+
19
+ If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
20
+ forums](https://discuss.streamlit.io).