brijeshpandya commited on
Commit
aec8a80
·
1 Parent(s): 2fb4c2e

Add HF Space config to README

Browse files
Files changed (1) hide show
  1. README.md +16 -7
README.md CHANGED
@@ -1,10 +1,19 @@
 
 
 
 
 
 
 
 
 
 
1
  # Incident ML Inference API
2
 
3
- This FastAPI app provides endpoints for:
4
- - `/health` - service health check
5
- - `/analyze` - classify incident category & sentiment
 
6
 
7
- ## Deploy to Hugging Face Spaces
8
- - Create new Space (FastAPI SDK)
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