mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-28 10:11:42 +00:00
Update safe.py
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import torch
|
||||||
import contextlib
|
import contextlib
|
||||||
|
|
||||||
TypedStorage = None
|
TypedStorage = None
|
||||||
@@ -35,5 +36,5 @@ def Extra(*args, **kwargs):
|
|||||||
return contextlib.nullcontext()
|
return contextlib.nullcontext()
|
||||||
|
|
||||||
|
|
||||||
unsafe_torch_load = None
|
unsafe_torch_load = torch.load
|
||||||
global_extra_handler = None
|
global_extra_handler = None
|
||||||
|
|||||||
Reference in New Issue
Block a user