ufo-model.pkl file should be in the same directory as app.py (#469)

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

@ -281,7 +281,7 @@ Now you can build a Flask app to call your model and return similar results, but
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