the code runs better when you import things you need

This commit is contained in:
drhead 2024-05-18 20:53:33 -04:00 committed by GitHub
parent 044494d914
commit 4eb7cb443d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
import inspect
from collections import namedtuple
from contextlib import nullcontext
import torch
from PIL import Image
from modules import devices, images, sd_vae_approx, sd_samplers, sd_vae_taesd, shared, sd_models