High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: Update module name for rapidocr DownloadFile (#23838)
Alexander Sulfrian5186092faaa2
diff --git a/machine-learning/immich_ml/models/ocr/detection.py b/machine-learning/immich_ml/models/ocr/detection.pyindex 07a2f3cce2..4101a5c6f7 100644--- a/machine-learning/immich_ml/models/ocr/detection.py+++ b/machine-learning/immich_ml/models/ocr/detection.py@@ -6,7 +6,7 @@ from numpy.typing import NDArrayfrom PIL import Imagefrom rapidocr.ch_ppocr_det.utils import DBPostProcessfrom rapidocr.inference_engine.base import FileInfo, InferSession-from rapidocr.utils import DownloadFile, DownloadFileInput+from rapidocr.utils.download_file import DownloadFile, DownloadFileInputfrom rapidocr.utils.typings import EngineType, LangDet, OCRVersion, TaskTypefrom rapidocr.utils.typings import ModelType as RapidModelTypediff --git a/machine-learning/immich_ml/models/ocr/recognition.py b/machine-learning/immich_ml/models/ocr/recognition.pyindex af3f99dbdb..e968392881 100644--- a/machine-learning/immich_ml/models/ocr/recognition.py+++ b/machine-learning/immich_ml/models/ocr/recognition.py@@ -6,7 +6,7 @@ from PIL import Imagefrom rapidocr.ch_ppocr_rec import TextRecInputfrom rapidocr.ch_ppocr_rec import TextRecognizer as RapidTextRecognizerfrom rapidocr.inference_engine.base import FileInfo, InferSession-from rapidocr.utils import DownloadFile, DownloadFileInput+from rapidocr.utils.download_file import DownloadFile, DownloadFileInputfrom rapidocr.utils.typings import EngineType, LangRec, OCRVersion, TaskTypefrom rapidocr.utils.typings import ModelType as RapidModelTypefrom rapidocr.utils.vis_res import VisRes