ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py
pull/470/head
Ayyuce Demirbas 4 years ago committed by GitHub
parent 8955c26d81
commit e5519c2bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -281,7 +281,7 @@ print(model.predict([[50,44,-12]]))
app = Flask(__name__) app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb")) model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/") @app.route("/")

Loading…
Cancel
Save