Ignore a lint error about 'import pillow_avif'.

This commit is contained in:
hodanov 2023-12-01 00:11:04 +09:00
parent 7d5a069978
commit 43b3e34171

View File

@ -138,7 +138,7 @@ class StableDiffusion:
"""
Runs the Stable Diffusion pipeline on the given prompt and outputs images.
"""
import pillow_avif
import pillow_avif # noqa
import torch
max_embeddings_multiples = self._count_token(p=prompt, n=n_prompt)