deepfake-server / README.md
DevQueen's picture
Sync from GitHub via hub-sync
fa9c7f9 verified
|
Raw
History Blame Contribute Delete
1.11 kB
metadata
title: Deepfake Detector API
emoji: 🔍
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
license: mit

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

Method Path Description
GET /health Service status and model load state
POST /predict Upload a video (multipart form field file)

Example

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

Runtime variables

Variable Description
ALLOWED_ORIGINS Comma-separated frontend URLs for CORS (e.g. your Vercel app)
DEVICE cpu (default)

Deploy notes