From 6dbfc61a3c546937fefbb20091fb8dae26cc9aa1 Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Wed, 11 May 2022 20:13:00 +0200 Subject: [PATCH] update predict.py --- predict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predict.py b/predict.py index d4abc41..7715c5b 100644 --- a/predict.py +++ b/predict.py @@ -13,4 +13,4 @@ with open(f'{logged_model}/'+input) as f: data = json.load(f) input_example = np.array([data['inputs']], dtype=np.float64) -loaded_model.predict(data['inputs']) \ No newline at end of file +loaded_model.predict(input_example) \ No newline at end of file