Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created November 25, 2021 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save letthedataconfess/b3611217e14617f7294d5d164c7baa74 to your computer and use it in GitHub Desktop.
Save letthedataconfess/b3611217e14617f7294d5d164c7baa74 to your computer and use it in GitHub Desktop.
from flask import Flask, render_template, request
import jsonify
import requests
import pickle
import numpy as np
import sklearn
import matplotlib
from sklearn.preprocessing import StandardScaler
app = Flask(__name__)
model = pickle.load(open('Customer_Churn_Prediction.pkl', 'rb'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment