From 75d2fb441ce9c757fb3eaa8e9776ecdbcfa41052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zar=C4=99ba?= Date: Thu, 27 May 2021 14:18:45 +0200 Subject: [PATCH] Zaktualizuj 'lab_09_predict_coop.py' --- lab_09_predict_coop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab_09_predict_coop.py b/lab_09_predict_coop.py index 4c2256b..ae46481 100644 --- a/lab_09_predict_coop.py +++ b/lab_09_predict_coop.py @@ -12,7 +12,7 @@ model = mlflow.pyfunc.load_model( model_uri=f"models:/{model_name}/{model_version}" ) -with open('movies_imdb2/input_example.json', 'r') as datafile: +with open('artifacts/model/input_example.json', 'r') as datafile: data = json.load(datafile) example_input = data["inputs"]