NeuroShieldApp / README.md
PradAgrawal's picture
Upload README.md
5850614 verified
---
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.