Spaces:
Runtime error
Runtime error
test `output_gallery_component` as output
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def process(input_image_editor, input_text, progress=gr.Progress(track_tqdm=True
|
|
72 |
height=height,
|
73 |
strength=0.7,
|
74 |
num_inference_steps=24
|
75 |
-
).images[0]
|
76 |
|
77 |
|
78 |
with gr.Blocks() as demo:
|
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
|
|
97 |
submit_button_component = gr.Button(
|
98 |
value='Submit', variant='primary', scale=0)
|
99 |
with gr.Column():
|
100 |
-
|
101 |
type='pil', image_mode='RGB', label='Generated image')
|
102 |
|
103 |
submit_button_component.click(
|
@@ -107,7 +107,7 @@ with gr.Blocks() as demo:
|
|
107 |
input_text_component
|
108 |
],
|
109 |
outputs=[
|
110 |
-
|
111 |
]
|
112 |
)
|
113 |
|
|
|
72 |
height=height,
|
73 |
strength=0.7,
|
74 |
num_inference_steps=24
|
75 |
+
).images[0], resized_mask
|
76 |
|
77 |
|
78 |
with gr.Blocks() as demo:
|
|
|
97 |
submit_button_component = gr.Button(
|
98 |
value='Submit', variant='primary', scale=0)
|
99 |
with gr.Column():
|
100 |
+
output_gallery_component = gr.Image(
|
101 |
type='pil', image_mode='RGB', label='Generated image')
|
102 |
|
103 |
submit_button_component.click(
|
|
|
107 |
input_text_component
|
108 |
],
|
109 |
outputs=[
|
110 |
+
output_gallery_component
|
111 |
]
|
112 |
)
|
113 |
|