Spaces:
Sleeping
Sleeping
Updated Readme for HF
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# ML Prediction API
|
| 2 |
|
| 3 |
Production-ready POC for serving an XGBoost model via FastAPI with PostgreSQL logging.
|
|
@@ -77,7 +93,7 @@ This project is configured to deploy to Hugging Face Spaces using Docker.
|
|
| 77 |
|
| 78 |
- **app/main.py**: Entry point.
|
| 79 |
- **app/routers**: API route definitions.
|
| 80 |
-
- **app/services**: Business
|
| 81 |
- **app/models**: Database and Pydantic models.
|
| 82 |
- **app/core**: Configuration and DB setup.
|
| 83 |
|
|
@@ -87,3 +103,5 @@ Run tests with coverage:
|
|
| 87 |
```bash
|
| 88 |
pytest --cov=app tests/
|
| 89 |
```
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: ML Prediction API
|
| 3 |
+
emoji: 🔮
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
tags:
|
| 10 |
+
- fastapi
|
| 11 |
+
- xgboost
|
| 12 |
+
- machine-learning
|
| 13 |
+
- postgresql
|
| 14 |
+
license: mit
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
# ML Prediction API
|
| 18 |
|
| 19 |
Production-ready POC for serving an XGBoost model via FastAPI with PostgreSQL logging.
|
|
|
|
| 93 |
|
| 94 |
- **app/main.py**: Entry point.
|
| 95 |
- **app/routers**: API route definitions.
|
| 96 |
+
- **app/services**: Business (ML inference).
|
| 97 |
- **app/models**: Database and Pydantic models.
|
| 98 |
- **app/core**: Configuration and DB setup.
|
| 99 |
|
|
|
|
| 103 |
```bash
|
| 104 |
pytest --cov=app tests/
|
| 105 |
```
|
| 106 |
+
|
| 107 |
+
GLHF !
|