stable-diffusion-webui / env_patch.py
rubberboy's picture
Duplicate from achyuth1344/stable-diffusion-webui
1228cd9
raw
history blame contribute delete
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