Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import random
|
|
12 |
|
13 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
14 |
|
15 |
-
MODELS = ["stabilityai/stable-diffusion-2-1", "stabilityai/stable-diffusion-2"]
|
16 |
|
17 |
#word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt")
|
18 |
#word_list = word_list_dataset["train"]['text']
|
@@ -314,7 +314,7 @@ with block:
|
|
314 |
loading_icon = gr.HTML(loading_icon_html)
|
315 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
316 |
|
317 |
-
with gr.Accordion("Advanced settings", open=
|
318 |
# gr.Markdown("Advanced settings are temporarily unavailable")
|
319 |
model_id = gr.Dropdown(label="Model", choices=MODELS, value=MODELS[0], allow_custom_value=True)
|
320 |
samples = gr.Slider(label="Images", minimum=1, maximum=4, value=4, step=1)
|
|
|
12 |
|
13 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
14 |
|
15 |
+
MODELS = ["stabilityai/stable-diffusion-2-1-base", "stabilityai/stable-diffusion-2-1", "stabilityai/stable-diffusion-2"]
|
16 |
|
17 |
#word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt")
|
18 |
#word_list = word_list_dataset["train"]['text']
|
|
|
314 |
loading_icon = gr.HTML(loading_icon_html)
|
315 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
316 |
|
317 |
+
with gr.Accordion("Advanced settings", open=True):
|
318 |
# gr.Markdown("Advanced settings are temporarily unavailable")
|
319 |
model_id = gr.Dropdown(label="Model", choices=MODELS, value=MODELS[0], allow_custom_value=True)
|
320 |
samples = gr.Slider(label="Images", minimum=1, maximum=4, value=4, step=1)
|