Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -263,7 +263,14 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 263 |
prompt_input = gr.Textbox(label="Prompt (Optional)")
|
| 264 |
with gr.Column(scale=1):
|
| 265 |
run_button = gr.Button("Generate / Diffusers Outpaint Image")
|
| 266 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 267 |
with gr.Row():
|
| 268 |
target_ratio = gr.Radio(
|
| 269 |
label="Expected Ratio",
|
|
@@ -277,12 +284,6 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 277 |
value="Middle",
|
| 278 |
label="Alignment"
|
| 279 |
)
|
| 280 |
-
with gr.Row():
|
| 281 |
-
model_selector = gr.Dropdown(
|
| 282 |
-
label="Select Model",
|
| 283 |
-
choices=list(pipelines.keys()),
|
| 284 |
-
value="RealVisXL V5.0 Lightning",
|
| 285 |
-
)
|
| 286 |
|
| 287 |
with gr.Accordion(label="Advanced settings", open=False) as settings_panel:
|
| 288 |
with gr.Column():
|
|
|
|
| 263 |
prompt_input = gr.Textbox(label="Prompt (Optional)")
|
| 264 |
with gr.Column(scale=1):
|
| 265 |
run_button = gr.Button("Generate / Diffusers Outpaint Image")
|
| 266 |
+
|
| 267 |
+
with gr.Row():
|
| 268 |
+
model_selector = gr.Dropdown(
|
| 269 |
+
label="Select Model",
|
| 270 |
+
choices=list(pipelines.keys()),
|
| 271 |
+
value="RealVisXL V5.0 Lightning",
|
| 272 |
+
)
|
| 273 |
+
|
| 274 |
with gr.Row():
|
| 275 |
target_ratio = gr.Radio(
|
| 276 |
label="Expected Ratio",
|
|
|
|
| 284 |
value="Middle",
|
| 285 |
label="Alignment"
|
| 286 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 287 |
|
| 288 |
with gr.Accordion(label="Advanced settings", open=False) as settings_panel:
|
| 289 |
with gr.Column():
|