/rate_movie

A Web App made for Sentiment Analysis with the help of Flask API

Primary LanguageJavaScript

RATE MOVIE

A Web App made with Sentiment Analysis with the help of Flask API

Technologies used

  • Python
  • textblob
  • flask
  • HTML, CSS

Demo

https://ratemovie.herokuapp.com/

Project Structure

This project has three major parts :

  1. app.py - This contains Flask APIs that receives movie a review through GUI or API calls, computes the precited value based on our model and returns it.
  2. request.py - This uses requests module to call APIs already defined in app.py and dispalys the returned value.
  3. app.html - The HTML template to allow user to enter the movie review.

Steps to run the application

  1. Run app.py using the command below to start Flask API
python app.py
  1. Navigate to URL http://localhost:5000

  2. To close the server, press Ctrl+C

  3. You can also send direct POST requests to FLask API using Python's inbuilt request module Run the command below to send the request with some pre-popuated values -

python request.py

Author

Adittya Dey