Spaces:
Runtime error
Runtime error
Download env_patch.py from achyuth1344/stable-diffusion-webui: direct link, hf CLI and curl.
- Browser
- Download file 120 Bytes
-
https://huggingface.co/spaces/achyuth1344/stable-diffusion-webui/resolve/main/env_patch.py
- Command line
-
hf download hf://spaces/achyuth1344/stable-diffusion-webui/env_patch.py
-
curl -L -o env_patch.py https://huggingface.co/spaces/achyuth1344/stable-diffusion-webui/resolve/main/env_patch.py
120 Bytes
| is_spaces = True if "SPACE_ID" in os.environ else False | |
| is_shared_ui = True if "IS_SHARED_UI" in os.environ else False | |