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 f203973076
commit 9a66494ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -281,7 +281,7 @@ Ora si può creare un'app Flask per chiamare il modello e restituire risultati s
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

Loading…
Cancel
Save