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