Spaces:
Runtime error
Runtime error
tool
Browse files
app.py
CHANGED
@@ -928,12 +928,10 @@ def main(args):
|
|
928 |
traj_droplast = gr.Button(value="Drop Last Point", visible=False)
|
929 |
|
930 |
with gr.Column():
|
931 |
-
|
932 |
-
# width=256, height=256,
|
933 |
-
# label="Canvas for Drawing", visible=False)
|
934 |
-
traj_input = gr.Image("assets/traj_layout.png", source="canvas",
|
935 |
width=256, height=256,
|
936 |
label="Canvas for Drawing", visible=False)
|
|
|
937 |
vis_traj = gr.Video(value=None, label="Trajectory", visible=False, width=256, height=256)
|
938 |
|
939 |
|
|
|
928 |
traj_droplast = gr.Button(value="Drop Last Point", visible=False)
|
929 |
|
930 |
with gr.Column():
|
931 |
+
traj_input = gr.Image("assets/traj_layout.png", tool='sketch', source="canvas",
|
|
|
|
|
|
|
932 |
width=256, height=256,
|
933 |
label="Canvas for Drawing", visible=False)
|
934 |
+
|
935 |
vis_traj = gr.Video(value=None, label="Trajectory", visible=False, width=256, height=256)
|
936 |
|
937 |
|