Spaces:
Runtime error
Runtime error
Rawal Khirodkar commited on
Commit 路
593faf8
1
Parent(s): fa5e6d1
Pointmap: rename 3D mesh label to 'Pointmap'; restore depth label to 'Depth (Z)'
Browse files
app.py
CHANGED
|
@@ -399,7 +399,7 @@ with gr.Blocks(title="Sapiens2 Pointmap", theme=gr.themes.Soft(), css=CUSTOM_CSS
|
|
| 399 |
with gr.Row(equal_height=True):
|
| 400 |
inp = gr.Image(label="Input", type="pil", height=640, scale=2)
|
| 401 |
out_glb = gr.Model3D(
|
| 402 |
-
label="
|
| 403 |
height=640,
|
| 404 |
clear_color=[0.10, 0.11, 0.14, 1.0],
|
| 405 |
camera_position=(35, 70, 4.0),
|
|
@@ -417,7 +417,7 @@ with gr.Blocks(title="Sapiens2 Pointmap", theme=gr.themes.Soft(), css=CUSTOM_CSS
|
|
| 417 |
label="Model",
|
| 418 |
)
|
| 419 |
run = gr.Button("Run", variant="primary", size="lg")
|
| 420 |
-
out_depth = gr.Image(label="
|
| 421 |
|
| 422 |
gr.Examples(examples=EXAMPLES, inputs=inp, examples_per_page=14)
|
| 423 |
|
|
|
|
| 399 |
with gr.Row(equal_height=True):
|
| 400 |
inp = gr.Image(label="Input", type="pil", height=640, scale=2)
|
| 401 |
out_glb = gr.Model3D(
|
| 402 |
+
label="Pointmap 路 drag to orbit 路 scroll to zoom 路 shift+drag to pan",
|
| 403 |
height=640,
|
| 404 |
clear_color=[0.10, 0.11, 0.14, 1.0],
|
| 405 |
camera_position=(35, 70, 4.0),
|
|
|
|
| 417 |
label="Model",
|
| 418 |
)
|
| 419 |
run = gr.Button("Run", variant="primary", size="lg")
|
| 420 |
+
out_depth = gr.Image(label="Depth (Z)", type="pil", height=640, scale=3)
|
| 421 |
|
| 422 |
gr.Examples(examples=EXAMPLES, inputs=inp, examples_per_page=14)
|
| 423 |
|