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 9a66494ec7
commit 89750cf420
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__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

Loading…
Cancel
Save