From 000ed354af1c49fb6217461f3f56b066860e8fe4 Mon Sep 17 00:00:00 2001 From: zhijianma Date: Tue, 14 Nov 2023 13:51:28 +0800 Subject: [PATCH] typo: merge pre-commit --- data_juicer/utils/model_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_juicer/utils/model_utils.py b/data_juicer/utils/model_utils.py index 516dc7fe1..5b242232a 100644 --- a/data_juicer/utils/model_utils.py +++ b/data_juicer/utils/model_utils.py @@ -177,7 +177,7 @@ def prepare_huggingface_clip(clip_name): :param clip_name: input clip name :return: a pair of clip instance and processor instance. """ - from transformers import CLIPProcessor, CLIPModel + from transformers import CLIPModel, CLIPProcessor model = CLIPModel.from_pretrained(clip_name) processor = CLIPProcessor.from_pretrained(clip_name)