Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ with gr.Blocks(theme="soft") as playground:
|
|
61 |
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
62 |
with gr.Column(elem_id="prompt-container"):
|
63 |
text_prompt = gr.Textbox(label="Prompt", placeholder="a cute cat", lines=1, elem_id="prompt-text-input")
|
64 |
-
model_dropdown = gr.Dropdown(label="
|
65 |
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
66 |
|
67 |
with gr.Accordion("Advanced settings", open=False):
|
|
|
61 |
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
62 |
with gr.Column(elem_id="prompt-container"):
|
63 |
text_prompt = gr.Textbox(label="Prompt", placeholder="a cute cat", lines=1, elem_id="prompt-text-input")
|
64 |
+
model_dropdown = gr.Dropdown(label="Model", choices=MODEL_LIST, elem_id="model-dropdown", value="runwayml/stable-diffusion-v1-5")
|
65 |
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
66 |
|
67 |
with gr.Accordion("Advanced settings", open=False):
|