From 506691e7481f85a8402c96c358f3751f01d5d528 Mon Sep 17 00:00:00 2001 From: ankandrew <61120139+ankandrew@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:21:02 -0300 Subject: [PATCH] Minor type --- fast_plate_ocr/utilities/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast_plate_ocr/utilities/utils.py b/fast_plate_ocr/utilities/utils.py index 652c52a..e5924c0 100644 --- a/fast_plate_ocr/utilities/utils.py +++ b/fast_plate_ocr/utilities/utils.py @@ -50,7 +50,7 @@ def read_plate_image(image_path: str, img_height: int, img_width: int) -> npt.ND def load_keras_model( - model_path: pathlib.Path, + model_path: str | pathlib.Path, vocab_size: int, max_plate_slots: int, ) -> keras.Model: