Spaces:
Build error
Build error
Download backend/shared.py from asnlfiwahfi/Stable_Diffusion_Forge: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/asnlfiwahfi/Stable_Diffusion_Forge/resolve/main/backend/shared.py
- Command line
-
hf download hf://spaces/asnlfiwahfi/Stable_Diffusion_Forge/backend/shared.py
-
curl -L -o shared.py https://huggingface.co/spaces/asnlfiwahfi/Stable_Diffusion_Forge/resolve/main/backend/shared.py
215 Bytes
| class VariableHolder: | |
| def __setattr__(self, name, value): | |
| self.__dict__[name] = value | |
| def __getattr__(self, name): | |
| return self.__dict__.get(name, None) | |
| global_variables = VariableHolder() | |