mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-06-13 21:01:06 +08:00
Update safe.py
This commit is contained in:
parent
1edd626f7c
commit
2129c64aed
@ -1,3 +1,4 @@
|
||||
import torch
|
||||
import contextlib
|
||||
|
||||
TypedStorage = None
|
||||
@ -35,5 +36,5 @@ def Extra(*args, **kwargs):
|
||||
return contextlib.nullcontext()
|
||||
|
||||
|
||||
unsafe_torch_load = None
|
||||
unsafe_torch_load = torch.load
|
||||
global_extra_handler = None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user