Created
December 7, 2020 05:29
-
-
Save steven-tey/5f5f3437693cb4d4e00aace530c9e845 to your computer and use it in GitHub Desktop.
Importing libraries for model.py file for NLP Moviebot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, jsonify, render_template, request | |
from flask_cors import CORS, cross_origin | |
import pandas as pd | |
from ast import literal_eval | |
import numpy as np | |
from sklearn.feature_extraction.text import CountVectorizer | |
from sklearn.metrics.pairwise import cosine_similarity | |
import boto3 | |
from botocore.config import Config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment