Update app.py
Browse files
app.py
CHANGED
|
@@ -68,12 +68,6 @@ with gr.Blocks() as demo:
|
|
| 68 |
lines=3
|
| 69 |
)
|
| 70 |
generate_button = gr.Button("Generate Image")
|
| 71 |
-
with gr.Column():
|
| 72 |
-
# Output component
|
| 73 |
-
image_output = gr.Image(label="Generated Image")
|
| 74 |
-
|
| 75 |
-
with gr.Row():
|
| 76 |
-
with gr.Column():
|
| 77 |
with gr.Accordion("Advanced Options", open=False):
|
| 78 |
model = gr.Dropdown(
|
| 79 |
choices=["Real6.0","Real5.1","Real5.0"],
|
|
@@ -94,6 +88,10 @@ with gr.Blocks() as demo:
|
|
| 94 |
step=0.5,
|
| 95 |
label="Guidance Scale"
|
| 96 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
# Connect the interface to the generation function
|
| 99 |
generate_button.click(
|
|
|
|
| 68 |
lines=3
|
| 69 |
)
|
| 70 |
generate_button = gr.Button("Generate Image")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
with gr.Accordion("Advanced Options", open=False):
|
| 72 |
model = gr.Dropdown(
|
| 73 |
choices=["Real6.0","Real5.1","Real5.0"],
|
|
|
|
| 88 |
step=0.5,
|
| 89 |
label="Guidance Scale"
|
| 90 |
)
|
| 91 |
+
with gr.Column():
|
| 92 |
+
# Output component
|
| 93 |
+
image_output = gr.Image(label="Generated Image")
|
| 94 |
+
|
| 95 |
|
| 96 |
# Connect the interface to the generation function
|
| 97 |
generate_button.click(
|