Spaces:
Sleeping
Sleeping
kyleleey
commited on
Commit
•
66e5160
1
Parent(s):
35c5809
update
Browse files
app.py
CHANGED
@@ -626,7 +626,7 @@ def run_demo():
|
|
626 |
examples_per_page=30
|
627 |
)
|
628 |
with gr.Column(scale=1):
|
629 |
-
processed_image = gr.Image(type='pil', label="Processed Image", interactive=False,
|
630 |
processed_image_highres = gr.Image(type='pil', image_mode='RGB', visible=False)
|
631 |
|
632 |
with gr.Accordion('Advanced options', open=True):
|
@@ -652,8 +652,8 @@ def run_demo():
|
|
652 |
# crop_size = 192
|
653 |
run_btn = gr.Button('Reconstruct', variant='primary', interactive=True)
|
654 |
with gr.Row():
|
655 |
-
view_1 = gr.Image(label="Input View Reconstruction", interactive=False,
|
656 |
-
view_2 = gr.Image(label="Input View Reconstruction with Skeleton", interactive=False,
|
657 |
with gr.Row():
|
658 |
shape_1 = gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], height=512, label="Reconstructed Shape")
|
659 |
shape_2 = gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], height=512, label="Reconstructed Base Shape")
|
|
|
626 |
examples_per_page=30
|
627 |
)
|
628 |
with gr.Column(scale=1):
|
629 |
+
processed_image = gr.Image(type='pil', label="Processed Image", interactive=False, width="auto", image_mode='RGB', elem_id="disp_image")
|
630 |
processed_image_highres = gr.Image(type='pil', image_mode='RGB', visible=False)
|
631 |
|
632 |
with gr.Accordion('Advanced options', open=True):
|
|
|
652 |
# crop_size = 192
|
653 |
run_btn = gr.Button('Reconstruct', variant='primary', interactive=True)
|
654 |
with gr.Row():
|
655 |
+
view_1 = gr.Image(label="Input View Reconstruction", interactive=False, width="auto", show_label=True)
|
656 |
+
view_2 = gr.Image(label="Input View Reconstruction with Skeleton", interactive=False, width="auto", show_label=True)
|
657 |
with gr.Row():
|
658 |
shape_1 = gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], height=512, label="Reconstructed Shape")
|
659 |
shape_2 = gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], height=512, label="Reconstructed Base Shape")
|