Spaces:
Runtime error
Runtime error
Update app_ctrlx.py
Browse files- app_ctrlx.py +1 -1
app_ctrlx.py
CHANGED
|
@@ -242,6 +242,7 @@ with gr.Blocks(theme=gr.themes.Default(), css=css, title="Ctrl-X (SDXL v1.0)") a
|
|
| 242 |
with gr.Row():
|
| 243 |
with gr.Column(scale=45):
|
| 244 |
with gr.Group():
|
|
|
|
| 245 |
with gr.Row():
|
| 246 |
structure_image = gr.Image(label="Upload structure image (optional)", type="pil", **kwargs)
|
| 247 |
appearance_image = gr.Image(label="Upload appearance image (optional)", type="pil", **kwargs)
|
|
@@ -281,7 +282,6 @@ with gr.Blocks(theme=gr.themes.Default(), css=css, title="Ctrl-X (SDXL v1.0)") a
|
|
| 281 |
|
| 282 |
with gr.Column(scale=55):
|
| 283 |
with gr.Group():
|
| 284 |
-
kwargs = {} # {"width": 400, "height": 400}
|
| 285 |
with gr.Row():
|
| 286 |
result = gr.Image(label="Output image", format="jpg", **kwargs)
|
| 287 |
result_refiner = gr.Image(label="Output image w/ refiner", format="jpg", **kwargs)
|
|
|
|
| 242 |
with gr.Row():
|
| 243 |
with gr.Column(scale=45):
|
| 244 |
with gr.Group():
|
| 245 |
+
kwargs = {} # {"width": 400, "height": 400}
|
| 246 |
with gr.Row():
|
| 247 |
structure_image = gr.Image(label="Upload structure image (optional)", type="pil", **kwargs)
|
| 248 |
appearance_image = gr.Image(label="Upload appearance image (optional)", type="pil", **kwargs)
|
|
|
|
| 282 |
|
| 283 |
with gr.Column(scale=55):
|
| 284 |
with gr.Group():
|
|
|
|
| 285 |
with gr.Row():
|
| 286 |
result = gr.Image(label="Output image", format="jpg", **kwargs)
|
| 287 |
result_refiner = gr.Image(label="Output image w/ refiner", format="jpg", **kwargs)
|