Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,6 @@ with demo:
|
|
178 |
# Combined mask controls
|
179 |
bt_masks = gr.Button("Compute Masks")
|
180 |
with gr.Row():
|
181 |
-
mask_image = gr.Image(type='numpy', label="Diffusion Mask")
|
182 |
masked_image = gr.Image(type='pil', label="Masked Image")
|
183 |
mask_storage = gr.State()
|
184 |
|
@@ -200,8 +199,9 @@ with demo:
|
|
200 |
steps_slider = gr.Slider(minimum=1, maximum=100, value=50, label="Inference Steps")
|
201 |
guidance_slider = gr.Slider(minimum=0.0, maximum=50.0, value=7.5, step=0.1, label="Guidance Scale")
|
202 |
bt_diffusion = gr.Button("Run Diffusion")
|
|
|
203 |
|
204 |
-
|
205 |
|
206 |
# TODO: saw a better way of handling many inputs online..
|
207 |
# forgot where though
|
|
|
178 |
# Combined mask controls
|
179 |
bt_masks = gr.Button("Compute Masks")
|
180 |
with gr.Row():
|
|
|
181 |
masked_image = gr.Image(type='pil', label="Masked Image")
|
182 |
mask_storage = gr.State()
|
183 |
|
|
|
199 |
steps_slider = gr.Slider(minimum=1, maximum=100, value=50, label="Inference Steps")
|
200 |
guidance_slider = gr.Slider(minimum=0.0, maximum=50.0, value=7.5, step=0.1, label="Guidance Scale")
|
201 |
bt_diffusion = gr.Button("Run Diffusion")
|
202 |
+
mask_image = gr.Image(type='numpy', label="Diffusion Mask")
|
203 |
|
204 |
+
inpainted_image = gr.Image(type='pil', label="Inpainted Image")
|
205 |
|
206 |
# TODO: saw a better way of handling many inputs online..
|
207 |
# forgot where though
|