Spaces:
Runtime error
Runtime error
Commit
·
c81e0c0
1
Parent(s):
588af69
minor update
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ class DemoRunner:
|
|
80 |
|
81 |
self._lmp_tabletop_ui = self.make_LMP(self._env)
|
82 |
|
83 |
-
info = '## Available
|
84 |
img = self._env.get_camera_image()
|
85 |
|
86 |
return info, img
|
@@ -128,7 +128,7 @@ if __name__ == '__main__':
|
|
128 |
inp_n_bowls = gr.Slider(label='Number of Bowls', minimum=0, maximum=4, value=3, step=1)
|
129 |
|
130 |
btn_setup = gr.Button("Setup/Reset Env")
|
131 |
-
info_setup = gr.Markdown(label='Setup Info')
|
132 |
with gr.Column():
|
133 |
img_setup = gr.Image(label='Current Simulation')
|
134 |
|
|
|
80 |
|
81 |
self._lmp_tabletop_ui = self.make_LMP(self._env)
|
82 |
|
83 |
+
info = '## Available Objects: \n- ' + '\n- '.join(obj_list)
|
84 |
img = self._env.get_camera_image()
|
85 |
|
86 |
return info, img
|
|
|
128 |
inp_n_bowls = gr.Slider(label='Number of Bowls', minimum=0, maximum=4, value=3, step=1)
|
129 |
|
130 |
btn_setup = gr.Button("Setup/Reset Env")
|
131 |
+
info_setup = gr.Markdown(label='Setup Info', value='## Available Objects:')
|
132 |
with gr.Column():
|
133 |
img_setup = gr.Image(label='Current Simulation')
|
134 |
|