CoolFace
Apppublic

SasaDeBasa/phq9-explainable-api

sourceHugging Faceunknownupdated 1y agoView on Hugging Face
0likes
App README

Explainable Depression Risk API

Train and serve a PHQ‑9 aware classifier that returns probability, severity, and human‑readable reasons.

Quickstart

bash
python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
python train_explainable.py
uvicorn app.main:app --host 0.0.0.0 --port 8080

Open http://localhost:8080/docs

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference