Update 'predict_registry.py'
This commit is contained in:
parent
343f6a0576
commit
931665322c
@ -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']) #
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user