Update 'predict_registry.py'

This commit is contained in:
Kacper Dudzic 2022-05-14 14:51:43 +02:00
parent 88d6fc430c
commit eddfb61cfc

View File

@ -7,7 +7,6 @@ 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']).reshape(-1, 8) # input_example = np.array(input_example_data['inputs']).reshape(-1, 8) #