mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-01-26 19:09:45 +00:00
10 lines
215 B
Python
10 lines
215 B
Python
class VariableHolder:
|
|
def __setattr__(self, name, value):
|
|
self.__dict__[name] = value
|
|
|
|
def __getattr__(self, name):
|
|
return self.__dict__.get(name, None)
|
|
|
|
|
|
global_variables = VariableHolder()
|