From 15b8b4cb91e87499e8ad2d1790dc1b49cd65ad3d Mon Sep 17 00:00:00 2001 From: Ayyuce Demirbas Date: Sun, 21 Nov 2021 19:06:05 +0300 Subject: [PATCH] ufo-model.pkl file should be in the same directory as app.py (#470) * 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 * 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 * 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 * 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 * 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 * 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.it.md | 2 +- 3-Web-App/1-Web-App/translations/README.ja.md | 2 +- 3-Web-App/1-Web-App/translations/README.ko.md | 2 +- 3-Web-App/1-Web-App/translations/README.pt-br.md | 2 +- 3-Web-App/1-Web-App/translations/README.pt.md | 2 +- 3-Web-App/1-Web-App/translations/README.zh-cn.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/3-Web-App/1-Web-App/translations/README.it.md b/3-Web-App/1-Web-App/translations/README.it.md index 2b167c880..9d5fa430f 100644 --- a/3-Web-App/1-Web-App/translations/README.it.md +++ b/3-Web-App/1-Web-App/translations/README.it.md @@ -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("/") 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 b23050dd6..ba9f91708 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("/") diff --git a/3-Web-App/1-Web-App/translations/README.ko.md b/3-Web-App/1-Web-App/translations/README.ko.md index 9b3be2ed6..24330063a 100644 --- a/3-Web-App/1-Web-App/translations/README.ko.md +++ b/3-Web-App/1-Web-App/translations/README.ko.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("/") diff --git a/3-Web-App/1-Web-App/translations/README.pt-br.md b/3-Web-App/1-Web-App/translations/README.pt-br.md index 8a809461e..e9fe9fa4d 100644 --- a/3-Web-App/1-Web-App/translations/README.pt-br.md +++ b/3-Web-App/1-Web-App/translations/README.pt-br.md @@ -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("/") diff --git a/3-Web-App/1-Web-App/translations/README.pt.md b/3-Web-App/1-Web-App/translations/README.pt.md index 1e06892b0..00b18c026 100644 --- a/3-Web-App/1-Web-App/translations/README.pt.md +++ b/3-Web-App/1-Web-App/translations/README.pt.md @@ -283,7 +283,7 @@ Finalmente, você está pronto para construir o arquivo python que direciona o c app = Flask(__name__) - model = pickle.load(open("../ufo-model.pkl", "rb")) + model = pickle.load(open("./ufo-model.pkl", "rb")) @app.route("/") diff --git a/3-Web-App/1-Web-App/translations/README.zh-cn.md b/3-Web-App/1-Web-App/translations/README.zh-cn.md index af45d1ce9..c64098084 100644 --- a/3-Web-App/1-Web-App/translations/README.zh-cn.md +++ b/3-Web-App/1-Web-App/translations/README.zh-cn.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("/")