--- license: apache-2.0 --- # FastAPI Inference Template 🚀 A lightweight template to wrap any 🤗 Transformers model as an API with FastAPI. ## Endpoints - `GET /` → health check - `POST /predict` → run inference ## Example Usage ```bash curl -X POST "http://localhost:8000/predict" \ -H "Content-Type: application/json" \ -d '{"text": "Markets are looking strong today"}'