Skip to content

anujpandey03/Emotion-Detection-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion Detection Twitter

This app fetches latest 100 tweets of the Twitter username provided and shows a pie chart representing 5 different emotions based on tweets.
Made a Machine Learning model based on Multinomial Naive Bayes Classifier which predicts the emotion of text.

Getting Started

This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Twitter API

Sign up for developer account on Twitter and get your own API credentials.

Replace the API keys and tokens in the model data/app.py file.

Installing jprq

JPRQ is a free and open-source Ngrok alternative to expose local servers online easily.

 pip3 install jprq

Running flask app

 > python3 app.py
 > python3 -m jprq http 5000
  • Press Ctrl+C to stop it

Replace the generated url in the getTweets() method in lib/networking.dart
Run the flutter app now.

Screenshot

screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published