--- title: NeuroShield PoC emoji: ๐Ÿ›ก๏ธ colorFrom: blue colorTo: indigo sdk: streamlit sdk_version: "1.32.0" app_file: app.py pinned: true --- # ๐Ÿ›ก๏ธ NeuroShield PoC (Enhanced Edition) A powerful AI-based moderation assistant built with Streamlit, Hugging Face Transformers, and Groq API. Designed for nuanced, voice-guided responses to online toxicity. --- ## ๐Ÿš€ Features - โœ… 14-label toxicity classification (simulated Jigsaw + extended logic) - ๐Ÿง  Coaching voice personas (compassionate, assertive, reflective, etc.) - ๐Ÿ”ฅ Visual indicators (emoji SAFE/UNSAFE + toxicity heatmap) - ๐ŸŽš๏ธ Tolerance control for each category - ๐Ÿง’ Kids Mode and NSFW Filter - โœ๏ธ Groq LLM Rewrites using selected tone/strategy --- ## ๐Ÿง  Coaching Voice Selector Choose from: - The Boundary Setter - The Mirror - The Compassionate Reframer - The Challenger โ†’ Fully extensible via `coaching_voices.json` --- ## ๐Ÿ› ๏ธ Setup ```bash pip install -r requirements.txt streamlit run app.py ``` --- ## ๐Ÿงช Secrets Configuration (Hugging Face Spaces) Add the following to your repository secrets: ``` GROQ_API_KEY=your-groq-api-key ``` --- MIT License ยฉ 2025 โ€“ Built for ethical AI and safe communication.