Spaces:
Sleeping
Sleeping
metadata
title: HateShield Backend
emoji: 🛡️
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
HateShield Backend API
Bilingual hate speech detection system using ensemble ML models.
Features
- English & Bengali hate speech detection
- Document analysis (PDF, DOCX, TXT)
- URL content scraping
- Real-time confidence scoring
API Endpoints
POST /analyze/text- Analyze text inputPOST /analyze/url- Analyze URL contentPOST /analyze/document- Analyze uploaded documentsGET /health- Health check
Tech Stack
- FastAPI
- Transformers (Hugging Face)
- scikit-learn
- PyTorch