File size: 935 Bytes
cc7abef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
        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>
                ''')