Spaces:
Sleeping
Sleeping
Deploy Space app files
Browse files
app.py
CHANGED
|
@@ -461,19 +461,21 @@ def build_app(instance_df: pd.DataFrame, preview_df: pd.DataFrame) -> gr.Blocks:
|
|
| 461 |
)
|
| 462 |
|
| 463 |
with gr.Row():
|
| 464 |
-
instance_meta = gr.JSON(label="Instance Metadata")
|
| 465 |
-
llm_tags = gr.JSON(label="LLM Tags")
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
|
| 470 |
-
)
|
|
|
|
|
|
|
| 471 |
|
| 472 |
with gr.Row():
|
| 473 |
-
rgb_image = gr.Image(label="RGB", height=
|
| 474 |
-
mask_image = gr.Image(label="Mask", height=
|
| 475 |
-
depth_image = gr.Image(label="Depth", height=
|
| 476 |
-
normal_image = gr.Image(label="Normal", height=
|
| 477 |
frame_slider = gr.Slider(
|
| 478 |
label="Frame",
|
| 479 |
minimum=1,
|
|
|
|
| 461 |
)
|
| 462 |
|
| 463 |
with gr.Row():
|
| 464 |
+
instance_meta = gr.JSON(label="Instance Metadata", height=280, scale=1)
|
| 465 |
+
llm_tags = gr.JSON(label="LLM Tags", height=280, scale=1, open=True)
|
| 466 |
+
|
| 467 |
+
model_viewer = gr.Model3D(
|
| 468 |
+
label="3D Preview (GLB)",
|
| 469 |
+
clear_color=(0.35, 0.35, 0.38, 1.0),
|
| 470 |
+
camera_position=(35, 70, 3.5),
|
| 471 |
+
height=460,
|
| 472 |
+
)
|
| 473 |
|
| 474 |
with gr.Row():
|
| 475 |
+
rgb_image = gr.Image(label="RGB", height=320, interactive=False, scale=1, min_width=160)
|
| 476 |
+
mask_image = gr.Image(label="Mask", height=320, interactive=False, scale=1, min_width=160)
|
| 477 |
+
depth_image = gr.Image(label="Depth", height=320, interactive=False, scale=1, min_width=160)
|
| 478 |
+
normal_image = gr.Image(label="Normal", height=320, interactive=False, scale=1, min_width=160)
|
| 479 |
frame_slider = gr.Slider(
|
| 480 |
label="Frame",
|
| 481 |
minimum=1,
|