This project uses LangChain and OpenAI's GPT-4o to perform emotion detection on text input. The application provides a simple web interface where users can input text and receive emotion analysis.
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
- Add your OpenAI API key:
export OPENAI_API_KEY=<YOUR OPENAI API> - Run the application:
streamlit run app.py
- Python 3.8+
- OpenAI API key
- Internet connection