This commit is contained in:
Josh Hawkins 2024-10-25 12:06:29 -05:00
parent 418c85d08a
commit ce45c54969

View File

@ -241,8 +241,6 @@ class GenericONNXEmbedding:
else:
raise ValueError(f"Unable to preprocess inputs for {self.model_type}")
# for face recognition
def _process_image(self, image, output: str = "RGB") -> Image.Image:
if isinstance(image, str):
if image.startswith("http"):