changed dir

This commit is contained in:
Dawid 2021-05-23 19:21:08 +02:00
parent 2512690467
commit fdaef41e47

View File

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