Coder Social home page Coder Social logo

well-mart / moviebot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steven-tey/moviebot

0.0 0.0 0.0 7.92 MB

Code repository for Moviebot – an NLP-powered movie recommendation chatbot, written in Python, HTML/CSS and JavaScript & hosted on Vercel + AWS Lambda.

Home Page: https://nlp.steventey.com/

Shell 0.05% JavaScript 0.08% Python 98.55% C 0.12% CSS 0.08% HTML 0.15% Jupyter Notebook 0.97%

moviebot's Introduction

🤖 Moviebot

Code repository for Moviebot – an NLP-powered movie recommendation chatbot, written in Python, HTML/CSS and JavaScript & hosted on Vercel + AWS Lambda.

This is a group project for my IL181 Practical Data Science tutorial (group members are Dennis, Pedro, and Ahmed). Here's our write up on the project:

🖥 Running this locally

To run this program locally, follow these steps:

  1. Download the repo with git clone https://github.com/steven-tey/moviebot.git
  2. Create a virtual environment with python3 -m venv venv
  3. Activate your virtual environment with source venv/bin/activate
  4. Then, install all the required libraries with pip install -r requirements.txt
  5. Next, export the Flask app route with export FLASK_APP=index.py
  6. You will also need to export the Flask environment with export FLASK_ENV=development
  7. Lastly, execute flask run and your program should be running at http://127.0.0.1:5000/

▲ Deploying on Vercel

To deploy this to vercel, all you gotta do is run vercel --prod in your terminal and follow through with the default setup criteria, as shown below:

? Set up and deploy “~/Desktop/username/moviebot”? [Y/n] y
? Which scope do you want to deploy to? vercel-username
? Link to existing project? [y/N] n
? What’s your project’s name? moviebot
? In which directory is your code located? ./
> Upload [====================] 98% 0.0sNo framework detected. Default Project Settings:
- Build Command: `npm run vercel-build` or `npm run build`
- Output Directory: `public` if it exists, or `.`
- Development Command: None
? Want to override the settings? [y/N] n

If you run into the error zsh: command vercel not found, you might need to run the following:

export PATH="/Users/steventey/.npm-global/bin/:$PATH"

💪 The AWS Lambda Function

The AWS Lambda function can be found in this model.py file.

🐞 Question + Bug Fixes

Feel free to contact me at [email protected] for more information about this project.

moviebot's People

Contributors

steven-tey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.