Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
35b72e6
1
Parent(s):
dafd257
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ import re
|
|
10 |
import os
|
11 |
import requests
|
12 |
|
|
|
13 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
14 |
|
15 |
model_id = "CompVis/stable-diffusion-v1-4"
|
@@ -312,9 +313,9 @@ with block:
|
|
312 |
with gr.Group(elem_id="container-advanced-btns"):
|
313 |
advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
314 |
with gr.Group(elem_id="share-btn-container"):
|
315 |
-
community_icon = gr.HTML(community_icon_html, visible=
|
316 |
-
loading_icon = gr.HTML(loading_icon_html, visible=
|
317 |
-
share_button = gr.Button("Share to community", elem_id="share-btn", visible=
|
318 |
|
319 |
with gr.Row(elem_id="advanced-options"):
|
320 |
gr.Markdown("Advanced settings are temporarily unavailable")
|
@@ -368,4 +369,4 @@ Despite how impressive being able to turn text into image is, beware to the fact
|
|
368 |
"""
|
369 |
)
|
370 |
|
371 |
-
block.queue(max_size=
|
|
|
10 |
import os
|
11 |
import requests
|
12 |
|
13 |
+
|
14 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
15 |
|
16 |
model_id = "CompVis/stable-diffusion-v1-4"
|
|
|
313 |
with gr.Group(elem_id="container-advanced-btns"):
|
314 |
advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
315 |
with gr.Group(elem_id="share-btn-container"):
|
316 |
+
community_icon = gr.HTML(community_icon_html, visible=True)
|
317 |
+
loading_icon = gr.HTML(loading_icon_html, visible=True)
|
318 |
+
share_button = gr.Button("Share to community", elem_id="share-btn", visible=True)
|
319 |
|
320 |
with gr.Row(elem_id="advanced-options"):
|
321 |
gr.Markdown("Advanced settings are temporarily unavailable")
|
|
|
369 |
"""
|
370 |
)
|
371 |
|
372 |
+
block.queue(max_size=50, concurrency_count=20).launch()
|