--- title: Sustainable Content Moderation emoji: 🌍 colorFrom: green colorTo: blue sdk: gradio sdk_version: 5.15.0 app_file: app.py pinned: false --- # Sustainable Content Moderation System A Gradio-based web application that performs content moderation using a two-tier model approach: - Lightweight model (DistilBERT) for quick initial assessment - Advanced model (DeBERTa) for more thorough analysis when needed ## Features - Text content analysis (up to 50 words) - Adaptive model selection based on confidence threshold - Real-time processing and results display ## Technical Details The system uses: - DistilBERT (lightweight) and DeBERTa (advanced) models - Gradio for the web interface - Asynchronous processing for better performance ## Usage Enter text in the input box and click "Analyze Content" to receive: - Content assessment - Model used (lightweight or advanced) - Confidence score - Classification label ## Deployment This app is deployed on HuggingFace Spaces.