--- title: TNM Cancer Stage Endpoint emoji: 🧬 colorFrom: indigo colorTo: blue sdk: docker pinned: false --- # TNM Endpoint (FastAPI) This Space hosts a **FastAPI endpoint** that takes a pathology/radiology report as input and predicts **T, N, M cancer staging** using pretrained models on Hugging Face. ### Usage Send a POST request with a report: ```bash curl -X POST "https://USERNAME-tnm-endpoint.hf.space/predict_tnm" \ -H "Content-Type: application/json" \ -d '{"text": "Tumor is 3 cm w