| 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> | |
| ''') | |