Commit ยท
5ae73bc
1
Parent(s): 5b6ce5a
lien download
Browse files
app.py
CHANGED
|
@@ -108,12 +108,20 @@ def update_2(choice, progress):
|
|
| 108 |
# -----------------------------
|
| 109 |
with gr.Blocks() as demo:
|
| 110 |
|
| 111 |
-
gr.Markdown("
|
|
|
|
| 112 |
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
# DOCUMENT 1
|
| 115 |
# -------------------------
|
| 116 |
-
gr.Markdown("##
|
| 117 |
|
| 118 |
with gr.Row():
|
| 119 |
dd1 = gr.Dropdown(choices_1, label="Trajectory selected")
|
|
@@ -130,7 +138,7 @@ with gr.Blocks() as demo:
|
|
| 130 |
# -------------------------
|
| 131 |
# DOCUMENT 2
|
| 132 |
# -------------------------
|
| 133 |
-
gr.Markdown("##
|
| 134 |
|
| 135 |
with gr.Row():
|
| 136 |
dd2 = gr.Dropdown(choices_2, label="Trajectory selected")
|
|
|
|
| 108 |
# -----------------------------
|
| 109 |
with gr.Blocks() as demo:
|
| 110 |
|
| 111 |
+
gr.Markdown("""
|
| 112 |
+
# Trajectory Explorer
|
| 113 |
|
| 114 |
+
This page is an interactive visualization of two example outcome archives.
|
| 115 |
+
This first outcome archive refers to the closing of a door on our experimental object (000_hinge_0), the second to the closing of a drawer (000_slider_0).
|
| 116 |
+
Chose the trajectory you want to explore among the diverse diplayed and use the slider to see the keyframe progression.
|
| 117 |
+
|
| 118 |
+
To download the full dataset, visit:
|
| 119 |
+
https://huggingface.co/datasets/mathildekappel/trajectory_primitive
|
| 120 |
+
|
| 121 |
+
""")
|
| 122 |
# DOCUMENT 1
|
| 123 |
# -------------------------
|
| 124 |
+
gr.Markdown("## 000_hinge_0 action primitive outcome archive ")
|
| 125 |
|
| 126 |
with gr.Row():
|
| 127 |
dd1 = gr.Dropdown(choices_1, label="Trajectory selected")
|
|
|
|
| 138 |
# -------------------------
|
| 139 |
# DOCUMENT 2
|
| 140 |
# -------------------------
|
| 141 |
+
gr.Markdown("## 000_slider_0 action primitive outcome archive ")
|
| 142 |
|
| 143 |
with gr.Row():
|
| 144 |
dd2 = gr.Dropdown(choices_2, label="Trajectory selected")
|