Update gradio_utils.py

This commit is contained in:
smthemex
2024-08-11 16:24:36 +08:00
committed by GitHub
parent 05923b6f84
commit 447d7749cf
+2 -2
View File
@@ -1,4 +1,4 @@
from .customnet_util import create_carvekit_interface, load_and_preprocess
from .custom_net.customnet_util import create_carvekit_interface, load_and_preprocess
def load_preprocess_model():
carvekit = create_carvekit_interface()
@@ -10,4 +10,4 @@ def preprocess_image(models, input_im):
:return input_im (H, W, 3) array.
'''
input_im = load_and_preprocess(models, input_im)
return input_im
return input_im