bugfix
This commit is contained in:
parent
5ae87f9dc4
commit
5093e345b1
@ -5,9 +5,12 @@ from .utils_clip import CLIPEmbedder
|
||||
|
||||
def load_findperson():
|
||||
g = ServerEnv()
|
||||
try:
|
||||
ifs = ImageFaces()
|
||||
ce = CLIPEmbedder()
|
||||
g.find_face_in_image = awaitify(ifs.find_face_in_image)
|
||||
g.save_faces = awaitify(ifs.save_faces)
|
||||
g.embed_image = ce.embed_image
|
||||
g.embed_text = ce.embed_text
|
||||
except:
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user