diff --git a/Zadanie_09_MLflow_Predict.py b/Zadanie_09_MLflow_Predict.py index c8e54da..beac2ca 100644 --- a/Zadanie_09_MLflow_Predict.py +++ b/Zadanie_09_MLflow_Predict.py @@ -2,7 +2,7 @@ import mlflow import pandas as pd model = mlflow.keras.load_model("my_model") -data = pd.read_json('my_model/input_example.json', orient='index') +data = pd.read_json('my_model/input_example.json', orient='split') print(data) print(model.predict(data)) \ No newline at end of file