Spaces:
Build error
Build error
Emiir
commited on
Commit
·
05706f9
1
Parent(s):
d43e97b
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,6 @@ import re
|
|
6 |
import os
|
7 |
import requests
|
8 |
|
9 |
-
from share_btn import community_icon_html, loading_icon_html, share_js
|
10 |
-
|
11 |
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
|
12 |
word_list = word_list_dataset["train"]['text']
|
13 |
|
@@ -275,13 +273,6 @@ with block:
|
|
275 |
label="Generated images", show_label=False, elem_id="gallery"
|
276 |
).style(grid=[2], height="auto")
|
277 |
|
278 |
-
with gr.Group(elem_id="container-advanced-btns"):
|
279 |
-
#advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
280 |
-
with gr.Group(elem_id="share-btn-container"):
|
281 |
-
community_icon = gr.HTML(community_icon_html)
|
282 |
-
loading_icon = gr.HTML(loading_icon_html)
|
283 |
-
share_button = gr.Button("Share to community", elem_id="share-btn")
|
284 |
-
|
285 |
with gr.Accordion("Advanced settings", open=False):
|
286 |
# gr.Markdown("Advanced settings are temporarily unavailable")
|
287 |
# samples = gr.Slider(label="Images", minimum=1, maximum=4, value=4, step=1)
|
|
|
6 |
import os
|
7 |
import requests
|
8 |
|
|
|
|
|
9 |
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
|
10 |
word_list = word_list_dataset["train"]['text']
|
11 |
|
|
|
273 |
label="Generated images", show_label=False, elem_id="gallery"
|
274 |
).style(grid=[2], height="auto")
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
with gr.Accordion("Advanced settings", open=False):
|
277 |
# gr.Markdown("Advanced settings are temporarily unavailable")
|
278 |
# samples = gr.Slider(label="Images", minimum=1, maximum=4, value=4, step=1)
|