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
f2b1ee09d4
commit
332c0d0349
@ -1,3 +1,5 @@
|
||||
import contextlib
|
||||
|
||||
TypedStorage = None
|
||||
|
||||
|
||||
@ -29,8 +31,8 @@ def load_with_extra(filename, extra_handler=None, *args, **kwargs):
|
||||
pass
|
||||
|
||||
|
||||
class Extra:
|
||||
pass
|
||||
def Extra(*args, **kwargs):
|
||||
return contextlib.nullcontext()
|
||||
|
||||
|
||||
unsafe_torch_load = None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user