fix: import only needed

This commit is contained in:
Bingsu
2023-05-18 07:51:05 +09:00
parent 209b703fbf
commit d6b5d2688f
8 changed files with 19 additions and 11 deletions

View File

@@ -7,4 +7,4 @@ if TYPE_CHECKING:
unsafe_torch_load = torch.load
else:
from modules.safe import *
from modules.safe import unsafe_torch_load