CoolFace
Apppublic

DevQueen/deepfake-server

sourceHugging Facemitupdated 18d agoView on Hugging Face
0likes
App README

Deepfake Detector API

FastAPI inference service for the Enhanced Deepfake Detector (LRCN + ViT, blink-aware temporal modeling).

GitHub project docs: see .github/README.md

Endpoints

MethodPathDescription
GET/healthService status and model load state
POST/predictUpload a video (multipart form field file)

Example

bash
curl https://devqueen-deepfake-server.hf.space/health
curl -X POST https://devqueen-deepfake-server.hf.space/predict -F "file=@video.mp4"

Runtime variables

VariableDescription
ALLOWED_ORIGINSComma-separated frontend URLs for CORS (e.g. your Vercel app)
DEVICEcpu (default)

Deploy notes

  • Synced from GitHub via .github/workflows/sync-to-hf-space.yml
  • Full setup guide: huggingface/README.md