Skip to content

Sandeepkasturi/Emotion-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This file provides a brief overview and instructions on how to use the application.

Emotion Detector with Emoji

This application detects emotions in user input and responds with an emoji and the name of the detected emotion. The application is built using Python's Streamlit library and a pre-trained model from the Hugging Face Transformers library.

Features

  • Detects emotions such as anger, joy, sadness, and more from user-provided text.
  • Displays the detected emotion along with a corresponding emoji.
  • Simple and intuitive user interface.

Installation

  1. Clone the repository or download the code files.

  2. Navigate to the project directory.

  3. Install the required Python packages using pip:

    pip install -r requirements.txt

Usage Run the Streamlit application:

streamlit run emotion_detector.py Enter your text in the input box on the web interface.

The application will detect the emotion and display it along with a relevant emoji.

Dependencies Streamlit: Used for building the web application. Transformers: Provides the pre-trained emotion detection model. Torch: Backend for running the Transformer models. Example

Example of the Emotion Detector showing the detected emotion and corresponding emoji.

License This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements Hugging Face for providing the pre-trained models used in this application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages