From 85babc60af23234ba725bb2f8b01497f9e67ac06 Mon Sep 17 00:00:00 2001 From: blazinghorizon Date: Sun, 15 Oct 2023 01:26:13 +0300 Subject: [PATCH] added logger for preprocessor --- model/preprocessor/libs/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/model/preprocessor/libs/models.py b/model/preprocessor/libs/models.py index 43781b1..7dc4644 100644 --- a/model/preprocessor/libs/models.py +++ b/model/preprocessor/libs/models.py @@ -14,6 +14,7 @@ from transformers import BlipProcessor, BlipForConditionalGeneration, pipeline import torch import shutil +from libs import logger class Translator: def __init__(self) -> None: