导入包优化

This commit is contained in:
刘雪峰
2023-12-21 20:52:03 +08:00
parent e78a8a9447
commit 7a0b4b9a90
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from comfy.cli_args import args
from PIL.PngImagePlugin import PngInfo
import json
from json import JSONEncoder, JSONDecoder
from util import tensor_to_pil
from easyapi.util import tensor_to_pil
class Base64ToImage:
@classmethod
+1 -1
View File
@@ -2,7 +2,7 @@ from segment_anything import SamAutomaticMaskGenerator
import json
import numpy as np
from util import tensor_to_pil
from easyapi.util import tensor_to_pil
class SamAutoMaskSEGS:
@classmethod