Download header_patch.py from ai-moroz/webui-cpu: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/spaces/ai-moroz/webui-cpu/resolve/main/header_patch.py
- Command line
-
hf download hf://spaces/ai-moroz/webui-cpu/header_patch.py
-
curl -L -o header_patch.py https://huggingface.co/spaces/ai-moroz/webui-cpu/resolve/main/header_patch.py
935 Bytes
| with gr.Box(visible=is_spaces): | |
| if(is_spaces and is_shared_ui): | |
| gr.HTML(f''' | |
| <div class="gr-prose" style="max-width: 80%"> | |
| <p>🚨 using CPU</p> | |
| <p>🚧 (WIP) Automatic1111 Stable Diffusion Web UI on 🤗 Hugging Face Spaces | Running model: WarriorMama777/AOM3A3.safetensors</p> | |
| <p>You can duplicate this Space to run it privately without a queue and load additional checkpoints.</p> | |
| </div> | |
| ''') | |
| elif(is_spaces): | |
| gr.HTML(f''' | |
| <div class="gr-prose" style="max-width: 80%"> | |
| <p>🚧 (WIP) Private Automatic1111 Stable Diffusion Web UI on 🤗 Hugging Face Spaces</p> | |
| <p>This Space is currently running on CPU</p> | |
| </div> | |
| ''') | |