From 91f61a53175b00672d6e8b600d4185fd756a3afc Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Fri, 10 Feb 2023 11:49:01 +0800 Subject: [PATCH] rm _types Signed-off-by: junjie.jiang --- isc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isc.py b/isc.py index 3948aa4..158a0a9 100644 --- a/isc.py +++ b/isc.py @@ -174,7 +174,7 @@ class Isc(NNOperator): return path @arg(1, to_image_color('RGB')) - def convert_img(self, img: towhee._types.Image): + def convert_img(self, img: 'towhee.types.Image'): img = PILImage.fromarray(img.astype('uint8'), 'RGB') return img