Ignore a lint error about 'import pillow_avif'.
This commit is contained in:
parent
7d5a069978
commit
43b3e34171
@ -138,7 +138,7 @@ class StableDiffusion:
|
|||||||
"""
|
"""
|
||||||
Runs the Stable Diffusion pipeline on the given prompt and outputs images.
|
Runs the Stable Diffusion pipeline on the given prompt and outputs images.
|
||||||
"""
|
"""
|
||||||
import pillow_avif
|
import pillow_avif # noqa
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
max_embeddings_multiples = self._count_token(p=prompt, n=n_prompt)
|
max_embeddings_multiples = self._count_token(p=prompt, n=n_prompt)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user