Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Commit
•
2c6d74e
1
Parent(s):
4425514
Update app.py
Browse files
app.py
CHANGED
@@ -118,18 +118,18 @@ with gr.Blocks(css=css) as demo:
|
|
118 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", placeholder="What you don't want to see in the image", show_label=False, lines=3)
|
119 |
with gr.Column():
|
120 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
|
|
121 |
with gr.Row():
|
122 |
-
|
123 |
-
model = gr.Dropdown(interactive=True,value="v1-5-pruned-emaonly.safetensors [d7049739]", show_label=True, label="Model", choices=prodia_client.list_models())
|
124 |
-
|
125 |
-
with gr.Row():
|
126 |
-
with gr.Column(scale=3):
|
127 |
|
128 |
|
129 |
with gr.Column(scale=2):
|
130 |
-
image_output = gr.
|
131 |
-
|
132 |
with gr.Accordion("Advanced options", open=False):
|
|
|
|
|
|
|
133 |
with gr.Column(scale=1):
|
134 |
sampler = gr.Dropdown(value="DPM++ SDE", show_label=True, label="Sampler", choices=[
|
135 |
"Euler",
|
|
|
118 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", placeholder="What you don't want to see in the image", show_label=False, lines=3)
|
119 |
with gr.Column():
|
120 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
121 |
+
|
122 |
with gr.Row():
|
123 |
+
|
|
|
|
|
|
|
|
|
124 |
|
125 |
|
126 |
with gr.Column(scale=2):
|
127 |
+
image_output = gr.Image()
|
128 |
+
|
129 |
with gr.Accordion("Advanced options", open=False):
|
130 |
+
with gr.Column(scale=6):
|
131 |
+
model = gr.Dropdown(interactive=True,value="v1-5-pruned-emaonly.safetensors [d7049739]", show_label=True, label="Model", choices=prodia_client.list_models())
|
132 |
+
|
133 |
with gr.Column(scale=1):
|
134 |
sampler = gr.Dropdown(value="DPM++ SDE", show_label=True, label="Sampler", choices=[
|
135 |
"Euler",
|