mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-01-26 19:09:45 +00:00
Update safe.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user