Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Commit
•
45ec3c0
1
Parent(s):
4a21e26
Update app.py
Browse files
app.py
CHANGED
@@ -445,7 +445,7 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis, pipe_matting):
|
|
445 |
with gr.Tab("Matting"):
|
446 |
with gr.Row():
|
447 |
with gr.Column():
|
448 |
-
|
449 |
label="Input Image",
|
450 |
type="filepath",
|
451 |
)
|
@@ -464,8 +464,8 @@ def run_demo_server(pipe_depth, pipe_normal, pipe_dis, pipe_matting):
|
|
464 |
value=default_image_processing_res,
|
465 |
)
|
466 |
with gr.Column():
|
467 |
-
#
|
468 |
-
# label="Predicted
|
469 |
# type="filepath",
|
470 |
# show_download_button=True,
|
471 |
# show_share_button=True,
|
|
|
445 |
with gr.Tab("Matting"):
|
446 |
with gr.Row():
|
447 |
with gr.Column():
|
448 |
+
matting_image_input = gr.Image(
|
449 |
label="Input Image",
|
450 |
type="filepath",
|
451 |
)
|
|
|
464 |
value=default_image_processing_res,
|
465 |
)
|
466 |
with gr.Column():
|
467 |
+
# matting_image_output_slider = ImageSlider(
|
468 |
+
# label="Predicted matting image",
|
469 |
# type="filepath",
|
470 |
# show_download_button=True,
|
471 |
# show_share_button=True,
|