Zaktualizuj 'lab_09_predict_coop.py'
All checks were successful
s430705-evaluation/pipeline/head This commit looks good
s430705-training/pipeline/head This commit looks good

This commit is contained in:
Michał Zaręba 2021-05-27 14:18:45 +02:00
parent 4fcac297a2
commit 75d2fb441c

View File

@ -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"]