Update cimage.py

This commit is contained in:
Art Gourieff 2023-06-19 03:15:51 +07:00 committed by GitHub
parent f9b535dfa9
commit 29b40758de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,6 @@ def numpy_to_pil(images: np.ndarray) -> List[Image.Image]:
def check_image(x_image: np.ndarray) -> Tuple[np.ndarray, List[bool]]:
global safety_feature_extractor, safety_checker
return x_image, False