Spaces:
Runtime error
Runtime error
separate image output component for mask
Browse files
app.py
CHANGED
|
@@ -145,8 +145,9 @@ with gr.Blocks() as demo:
|
|
| 145 |
with gr.Column():
|
| 146 |
output_image_component = gr.Image(
|
| 147 |
type='pil', image_mode='RGB', label='Generated image')
|
| 148 |
-
|
| 149 |
-
|
|
|
|
| 150 |
|
| 151 |
submit_button_component.click(
|
| 152 |
fn=process,
|
|
|
|
| 145 |
with gr.Column():
|
| 146 |
output_image_component = gr.Image(
|
| 147 |
type='pil', image_mode='RGB', label='Generated image')
|
| 148 |
+
with gr.Accordion("Debug", open=False):
|
| 149 |
+
output_mask_component = gr.Image(
|
| 150 |
+
type='pil', image_mode='RGB', label='Input mask')
|
| 151 |
|
| 152 |
submit_button_component.click(
|
| 153 |
fn=process,
|