From 8955c26d817ab35dfdcb8d299e7c21d0ac3b2835 Mon Sep 17 00:00:00 2001 From: Ayyuce Demirbas Date: Sat, 20 Nov 2021 18:12:04 +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.pt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1e06892b..00b18c02 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("/")