Update app.py
Browse files
app.py
CHANGED
@@ -124,13 +124,14 @@ with gr.Blocks(css=css) as app:
|
|
124 |
cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
|
125 |
# method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
126 |
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
with gr.
|
131 |
-
|
132 |
-
|
133 |
-
|
|
|
134 |
|
135 |
gr.Markdown(article_text)
|
136 |
|
|
|
124 |
cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
|
125 |
# method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
126 |
|
127 |
+
with gr.Row():
|
128 |
+
# text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
129 |
+
text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
|
130 |
+
with gr.Column():
|
131 |
+
with gr.Row():
|
132 |
+
image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
|
133 |
+
with gr.Row():
|
134 |
+
seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
|
135 |
|
136 |
gr.Markdown(article_text)
|
137 |
|