mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-30 11:11:21 +00:00
fix: import only needed
This commit is contained in:
@@ -7,4 +7,4 @@ if TYPE_CHECKING:
|
||||
|
||||
unsafe_torch_load = torch.load
|
||||
else:
|
||||
from modules.safe import *
|
||||
from modules.safe import unsafe_torch_load
|
||||
|
||||
Reference in New Issue
Block a user