From 89750cf420fa0720b8462e90b397b3ad8c0c603f Mon Sep 17 00:00:00 2001 From: Ayyuce Demirbas Date: Sat, 20 Nov 2021 18:09:08 +0300 Subject: [PATCH] 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 --- 3-Web-App/1-Web-App/translations/README.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3-Web-App/1-Web-App/translations/README.ja.md b/3-Web-App/1-Web-App/translations/README.ja.md index b23050dd..ba9f9170 100644 --- a/3-Web-App/1-Web-App/translations/README.ja.md +++ b/3-Web-App/1-Web-App/translations/README.ja.md @@ -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("/")