update UI
Browse files
app.py
CHANGED
|
@@ -855,15 +855,15 @@ with gr.Blocks(title="VISTA Demo (HF Spaces)") as demo:
|
|
| 855 |
run_btn = gr.Button("Run")
|
| 856 |
out_file = gr.File(label="Download result.png")
|
| 857 |
|
| 858 |
-
|
| 859 |
-
|
| 860 |
-
|
| 861 |
-
|
| 862 |
-
|
| 863 |
-
|
| 864 |
-
|
| 865 |
-
|
| 866 |
-
|
| 867 |
|
| 868 |
run_btn.click(
|
| 869 |
fn=infer_web,
|
|
|
|
| 855 |
run_btn = gr.Button("Run")
|
| 856 |
out_file = gr.File(label="Download result.png")
|
| 857 |
|
| 858 |
+
# gr.Markdown("### Debug Visualizations (mask/depth/etc)")
|
| 859 |
+
# with gr.Row():
|
| 860 |
+
# dbg_mask = gr.Image(label="mask_pil", type="pil")
|
| 861 |
+
# dbg_depth = gr.Image(label="depth_map", type="pil")
|
| 862 |
+
|
| 863 |
+
# with gr.Row():
|
| 864 |
+
# dbg_person = gr.Image(label="person_pil", type="pil")
|
| 865 |
+
# dbg_garment = gr.Image(label="garment_pil", type="pil")
|
| 866 |
+
# dbg_gmask = gr.Image(label="garment_mask_pil", type="pil")
|
| 867 |
|
| 868 |
run_btn.click(
|
| 869 |
fn=infer_web,
|