webui-cpu / header_patch.py
ai-moroz's picture
Upload header_patch.py
b90e461
raw
history blame contribute delete
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>
''')