MaxMilan1 commited on
Commit ·
f7eb860
1
Parent(s): 044a737
changes to layout
Browse files
app.py
CHANGED
|
@@ -32,8 +32,8 @@ with gr.Blocks() as demo:
|
|
| 32 |
label="Examples",
|
| 33 |
cache_examples=False,
|
| 34 |
)
|
| 35 |
-
button_gen = gr.Button("Generate Image")
|
| 36 |
with gr.Column():
|
|
|
|
| 37 |
gen_image = gr.Image(label="Generated Image", show_download_button=True, show_label=False)
|
| 38 |
|
| 39 |
button_gen.click(check_prompt, inputs=[prompt]).success(generate_image, inputs=[prompt, negative_prompt, control_image, scale], outputs=[gen_image])
|
|
|
|
| 32 |
label="Examples",
|
| 33 |
cache_examples=False,
|
| 34 |
)
|
|
|
|
| 35 |
with gr.Column():
|
| 36 |
+
button_gen = gr.Button("Generate Image")
|
| 37 |
gen_image = gr.Image(label="Generated Image", show_download_button=True, show_label=False)
|
| 38 |
|
| 39 |
button_gen.click(check_prompt, inputs=[prompt]).success(generate_image, inputs=[prompt, negative_prompt, control_image, scale], outputs=[gen_image])
|