Spaces:
Sleeping
Sleeping
Commit
·
aec8a80
1
Parent(s):
2fb4c2e
Add HF Space config to README
Browse files
README.md
CHANGED
@@ -1,10 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Incident ML Inference API
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
6 |
|
7 |
-
|
8 |
-
-
|
9 |
-
- Push contents of this `inference/` folder to the Space repo
|
10 |
-
- Public URL will serve the endpoints
|
|
|
1 |
+
---
|
2 |
+
title: Incident ML Inference
|
3 |
+
emoji: 🚨
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: blue
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
app_file: app.py
|
9 |
+
---
|
10 |
+
|
11 |
# Incident ML Inference API
|
12 |
|
13 |
+
FastAPI + Transformers inference for multilingual incident classification & sentiment analysis.
|
14 |
+
Runs in a Hugging Face Space using Docker.
|
15 |
+
|
16 |
+
## Endpoints
|
17 |
|
18 |
+
- `/health` – Check API health and loaded models
|
19 |
+
- `/analyze` – POST JSON `{ "text": "..." }` to get category & sentiment
|
|
|
|