change model name directory

This commit is contained in:
Dawid 2021-05-23 19:10:46 +02:00
parent 1ef0efac49
commit 1ea84c709d

View File

@ -8,7 +8,7 @@ mlf.set_tracking_uri("http://172.17.0.1:5000")
model = mlf.pyfunc.load_model(
model_uri=f"models:/{model_name}/{model_version}"
)
with open('movies_imdb/input_example.json', 'r') as datafile:
with open('movies_imdb2/input_example.json', 'r') as datafile:
data = json.load(datafile)['inputs']
input_dictionary = {idx:x for idx, x in enumerate(data)}