Update cimage.py
This commit is contained in:
parent
f9b535dfa9
commit
29b40758de
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user