An application that analyzes document sentiment and provides AI-powered email assistance
Another fun little project I made! :3
- 📊 Documents sentiment analysis
- 💬 AI-powered email assistance (rewriting, responding, fixing)
- 📱 User-friendly chat interface
- 📈 Detailed sentence-by-sentence sentiment breakdown
- Clone the repository
- Install dependencies: (i mightve missed a few here)
pip install streamlit transformers torch huggingface_hub seaborn
- Set up Hugging Face authentication:
- Get your Hugging Face token from https://huggingface.co/settings/tokens
- Set it as an environment variable:
HUGGINGFACE_TOKEN=your_token
- Or add it to Streamlit secrets
- Run the application:
streamlit run app.py
- Paste your email in the chat to analyze its sentiment
- Use follow-up commands like "fix this email" or "make it more professional" for AI assistance
- Streamlit for the web interface
- HuggingFace Transformers for sentiment analysis and text generation
- Google's Gemma-2-2b for assistance