montyanderson
commited on
Commit
•
a6c6039
1
Parent(s):
d3e0f4d
`app.py`: default model + default image
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks(css=css) as demo:
|
|
109 |
|
110 |
with gr.Row():
|
111 |
with gr.Column(scale=6):
|
112 |
-
model = gr.Dropdown(interactive=True,value="
|
113 |
|
114 |
with gr.Column(scale=1):
|
115 |
gr.Markdown(elem_id="powered-by-prodia", value="AUTOMATIC1111 Stable Diffusion Web UI.<br>Powered by [Prodia](https://prodia.com).")
|
@@ -166,7 +166,7 @@ with gr.Blocks(css=css) as demo:
|
|
166 |
|
167 |
|
168 |
with gr.Column(scale=2):
|
169 |
-
image_output = gr.Image()
|
170 |
|
171 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
172 |
|
|
|
109 |
|
110 |
with gr.Row():
|
111 |
with gr.Column(scale=6):
|
112 |
+
model = gr.Dropdown(interactive=True,value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=True, label="Stable Diffusion Checkpoint", choices=prodia_client.list_models())
|
113 |
|
114 |
with gr.Column(scale=1):
|
115 |
gr.Markdown(elem_id="powered-by-prodia", value="AUTOMATIC1111 Stable Diffusion Web UI.<br>Powered by [Prodia](https://prodia.com).")
|
|
|
166 |
|
167 |
|
168 |
with gr.Column(scale=2):
|
169 |
+
image_output = gr.Image(value="https://images.prodia.xyz/8ede1a7c-c0ee-4ded-987d-6ffed35fc477.png")
|
170 |
|
171 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
172 |
|