Update gradio_utils.py
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user