A web application built using Streamlit to detect emotions and sentiment from Indonesian text.
This project uses Machine Learning models (Naive Bayes, Random Forest, and SVM) trained with TF-IDF vectorization and stored as .pkl files for direct use.
- Clone repository:
git clone https://github.com/hilmansw/emotion-detection-app.git
cd emotion-detection-app- Create virtual environment (optional but recommended):
python -m venv venvActivate environment:
- Windows: venv\Scripts\activate
- Linux/Mac: source venv/bin/activate
- Install dependencies:
pip install -r requirements.txtRun the following command:
streamlit run app.py