Update 'predict_registry.py'

This commit is contained in:
Kacper Dudzic 2022-05-14 14:37:07 +02:00
parent 343f6a0576
commit 931665322c

View File

@ -7,6 +7,7 @@ model = mlflow.pyfunc.load_model(registry_path) #
with open(f'{registry_path}/input_example.json') as f: with open(f'{registry_path}/input_example.json') as f:
input_example_data = json.load(f) input_example_data = json.load(f)
print(input_example_data)
input_example = np.array(input_example_data['inputs']) # input_example = np.array(input_example_data['inputs']) #