Team Ai
Apppublic

adityarajmishra/veracity-api

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
App README

Veracity API — Misinformation Detection

FastAPI backend serving a fine-tuned BERT veracity classifier (LIAR benchmark). Model weights are downloaded from the Hugging Face Hub repo `adityarajmishra/veracity-bert-liar` on startup.

  • —Interactive docs: /docs
  • —Health: /health
  • —Predict: POST /predict with {"statement": "..."}

This Space hosts the API for the open-source Veracity.ai project.

Configuration (Space Variables)

VariableValue
APP_ENVIRONMENTproduction
APP_MODEL_MODEfull (Spaces has 16 GB RAM)
APP_HF_REPO_IDadityarajmishra/veracity-bert-liar
APP_ALLOWED_ORIGINSyour Vercel domain, e.g. https://veracity-bert-liar.vercel.app