Spaces:
Sleeping
Sleeping
Update layout again...
Browse files
app.py
CHANGED
|
@@ -36,17 +36,27 @@ with gr.Blocks(title="World-in-World: Building a Closed-Loop World Interface to
|
|
| 36 |
|
| 37 |
with gr.Tabs():
|
| 38 |
# New Zone before Leaderboard
|
| 39 |
-
with gr.TabItem("π§βπ« Instruction &
|
| 40 |
with gr.Row():
|
| 41 |
-
with gr.Column(scale=1):
|
| 42 |
gr.HTML("<h3 style='text-align: center;'>Instruction:</h3>")
|
| 43 |
gr.Markdown("Navigate to the Toaster in the room and be as close as possible to it.")
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
gr.HTML("<h3 style='text-align: center;'>Closed-Loop Environmental Feedback</h3>")
|
| 47 |
-
|
| 48 |
-
gr.
|
| 49 |
-
gr.
|
|
|
|
| 50 |
|
| 51 |
with gr.TabItem("π Leaderboard"):
|
| 52 |
leaderboard_table = gr.DataFrame(
|
|
|
|
| 36 |
|
| 37 |
with gr.Tabs():
|
| 38 |
# New Zone before Leaderboard
|
| 39 |
+
with gr.TabItem("π§βπ« Instruction & Environmental Feedback"):
|
| 40 |
with gr.Row():
|
| 41 |
+
with gr.Column(scale=1, min_width=300): # Ensuring proper alignment
|
| 42 |
gr.HTML("<h3 style='text-align: center;'>Instruction:</h3>")
|
| 43 |
gr.Markdown("Navigate to the Toaster in the room and be as close as possible to it.")
|
| 44 |
+
gr.Markdown("""
|
| 45 |
+
**Environment Step 4-7:**
|
| 46 |
+
|
| 47 |
+
**Planning:**
|
| 48 |
+
1. Move leftward by 0.25.
|
| 49 |
+
2. Move leftward by 0.25.
|
| 50 |
+
3. Move forward by 0.25.
|
| 51 |
+
4. Move forward by 0.25.
|
| 52 |
+
""")
|
| 53 |
+
|
| 54 |
+
with gr.Column(scale=2, min_width=600):
|
| 55 |
gr.HTML("<h3 style='text-align: center;'>Closed-Loop Environmental Feedback</h3>")
|
| 56 |
+
# Adjust image/video sizes for better layout
|
| 57 |
+
gr.Video("/home/user/app/demo_source_data/AR/FTwan21_lora/X7HyMhZNoso/E145/A001/world_model_gen/bbox_gen_video_1.mp4", label="Left Image", width=480)
|
| 58 |
+
gr.Image("/home/user/app/demo_source_data/AR/FTwan21_lora/X7HyMhZNoso/E145/A001/real_obs.png", label="Bird Eye View", type="pil", width=480)
|
| 59 |
+
gr.Model3D("/home/user/app/demo_source_data/scenes_glb/5ZKStnWn8Zo.glb", label="3D Scene", width=480)
|
| 60 |
|
| 61 |
with gr.TabItem("π Leaderboard"):
|
| 62 |
leaderboard_table = gr.DataFrame(
|