From 565f4b4443a1eed9299957d3a8ca7d89c895c413 Mon Sep 17 00:00:00 2001 From: narugo1992 <117186571+narugo1992@users.noreply.github.com> Date: Sat, 1 Jun 2024 19:08:37 +0800 Subject: [PATCH] dev(narugo): fix c, ci skip --- skpick/check/hqimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skpick/check/hqimage.py b/skpick/check/hqimage.py index 73c9b0c..6cbcba5 100644 --- a/skpick/check/hqimage.py +++ b/skpick/check/hqimage.py @@ -20,8 +20,8 @@ def is_hqimage(file, face_threshold: int = 5000): if image.width * image.height >= 8000 ** 2: return True - image = load_image(image) try: + image = load_image(image) if anime_real(image)[0] != 'anime': return False if anime_classify(image)[0] != 'illustration':