From 9dcd5723a629ffae1c9fad5e876667312a2c014f Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Mon, 30 Jan 2023 14:27:48 +0800 Subject: [PATCH] delete Image dep Signed-off-by: junjie.jiang --- timm_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm_image.py b/timm_image.py index f74eb9a..bbd441f 100644 --- a/timm_image.py +++ b/timm_image.py @@ -100,7 +100,7 @@ class TimmImage(NNOperator): pass @torch_no_grad - def __call__(self, data: Union[List[towhee._types.Image], towhee._types.Image]): + def __call__(self, data: Union[List['towhee.types.Image'], 'towhee.types.Image']): if not isinstance(data, list): imgs = [data] else: