--- title: SentimentDetectiontest emoji: 🎓 colorFrom: indigo colorTo: blue sdk: docker pinned: false --- # Educational Sentiment Chatbot This is a Socratic educational tutor chatbot designed to dynamically adjust its response tone based on the student's detected sentiment (confusion, frustration, boredom, confidence, or neutral). It evaluates four different agent/classifier flows: - **Option A**: Gemini 3.1 Flash Lite (Double-Pass via LangGraph) - **Option B**: Gemini Single-Pass (Pre-optimized, low latency) - **Option C**: DistilRoBERTa Distribution + Gemini - **Option D**: Local DistilRoBERTa Classifier + Gemini ## Deploying to Hugging Face Spaces This repository is configured to deploy directly to Hugging Face Spaces via Docker. ### Requirements: - A `GEMINI_API_KEY` set as a Secret in the space's settings.