Skip to content

unniznd/TweeForeTell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TweeForeTell

This webapp fetch the recent tweets and predict the mood as angry, happy, netural or sad.

Team members

Aanand S

Anaswara V Kumar

How it Works

  • Fetch the recent tweets with random query using tweepy in python
  • Predict the mood of tweets
  • Render the results to a webpage

How to Run locally

  • Clone the repo
  • Install the requirements pip install -r requirements.txt
  • Create a file dev_settings.py in twitterapi folder with suitable variables

Model of dev_settings.py

ALLOWED_HOSTS = ['localhost']
bearer_token = 'add_bearer_token_here'
SECRET_KEY = 'add_secret_key_key'

DATABASES = {
    'default': {
        'ENGINE': '',
        'NAME': '',
    }
}
  • Set debug = False in twitterapi/settings.py
  • Run the server
python manage.py runserver 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published