From 32e7e16d62f3b27c38670d74f2d9f50c5dd42a20 Mon Sep 17 00:00:00 2001 From: hodanov <1031hoda@gmail.com> Date: Fri, 1 Dec 2023 00:34:29 +0900 Subject: [PATCH] Add ignore linter. --- setup_files/txt2img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_files/txt2img.py b/setup_files/txt2img.py index 377ecdb..0a4907f 100644 --- a/setup_files/txt2img.py +++ b/setup_files/txt2img.py @@ -138,7 +138,7 @@ class StableDiffusion: """ Runs the Stable Diffusion pipeline on the given prompt and outputs images. """ - import pillow_avif # noqa + import pillow_avif # noqa: F401 import torch max_embeddings_multiples = self._count_token(p=prompt, n=n_prompt)