Chamin09's picture
Updated to latest SDK
a749501 verified

A newer version of the Gradio SDK is available: 5.25.1

Upgrade
metadata
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.