with gr.Box(visible=os.environ.get("SPACE_ID")): is_shared_ui = str(os.environ.get("IS_SHARED_UI", "") or "").strip().lower() not in ("", "0", "false", "none", "no") if is_shared_ui: import torch if not torch.cuda.is_available(): gr.HTML(f"""
""") else: gr.HTML(f""" """) elif os.environ.get("SPACE_ID"): import torch if not torch.cuda.is_available(): gr.HTML(f"""▲ Docker build from 🐙 GitHub ➔ kalaspuff/stable-diffusion-webui-controlnet-docker / 🤗 Hugging Face ➔ carloscar/stable-diffusion-webui-controlnet-docker
▲ Load additional checkpoints, VAE, LoRA models, etc. Read more on the README at the GitHub link above.
▲ This Space is currently running on CPU, which may yield very slow results - you can upgrade for a GPU in the Settings tab
▲ Docker build from 🐙 GitHub ➔ kalaspuff/stable-diffusion-webui-controlnet-docker / 🤗 Hugging Face ➔ carloscar/stable-diffusion-webui-controlnet-docker
▲ Load additional checkpoints, VAE, LoRA models, etc. Read more on the README at the GitHub link above.
▲ This Space has GPU enabled - remember to remove the GPU from the space in the Settings tab when you're done.