zfzhang-thu commited on
Commit
55cc62e
1 Parent(s): f046265

update example

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,7 +115,7 @@ with gr.Blocks(title='LEO Demo') as demo:
115
  outputs=[gr.Model3D(
116
  clear_color=[0.0, 0.0, 0.0, 0.0], camera_position=(80, 100, 6), label=f"3D Model for Step {i+1} (if the step exists)") for i in range(STEP_COUNTS)],
117
  examples=[
118
- ["Retrieve an item from the backpack.", "1. Walk to the ottoman located near the brown leather armchair.", "2. Choose the black backpack resting on this ottoman.", "3. Open the backpack to find the needed item."] + [""] * (STEP_COUNTS - 3)
119
  ],
120
  title="LEO Plan-to-Masks: Input plan, Output 3D Masks for each step, Red denotes predicted target object"
121
  )
@@ -135,7 +135,7 @@ with gr.Blocks(title='LEO Demo') as demo:
135
  ) for item in sublist
136
  ],
137
  examples=[
138
- ["Retrieve an item from the backpack."]
139
  ],
140
  title="LEO Task-to-Plan and Masks: Input task, Output plan text and 3D Masks for each step, Red denotes predicted target object",
141
  # js="""
 
115
  outputs=[gr.Model3D(
116
  clear_color=[0.0, 0.0, 0.0, 0.0], camera_position=(80, 100, 6), label=f"3D Model for Step {i+1} (if the step exists)") for i in range(STEP_COUNTS)],
117
  examples=[
118
+ ["Start Working at the desk.", "1. Walk to the desk.", "2. Sit on the brown leather sofa chair in front of the desk.", "3. Turn on the opened laptop in front of you on the desk.", "4. Grab the cup beside the laptop to drink."] + [""] * (STEP_COUNTS - 4)
119
  ],
120
  title="LEO Plan-to-Masks: Input plan, Output 3D Masks for each step, Red denotes predicted target object"
121
  )
 
135
  ) for item in sublist
136
  ],
137
  examples=[
138
+ ["Start Working at the desk."]
139
  ],
140
  title="LEO Task-to-Plan and Masks: Input task, Output plan text and 3D Masks for each step, Red denotes predicted target object",
141
  # js="""