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

@ -284,7 +284,7 @@ Agora você pode construir uma aplicação Flask para chamar seu modelo e retorn
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

Loading…
Cancel
Save