Omnibus commited on
Commit
11f9754
·
1 Parent(s): 3f56f72

Update canvas.py

Browse files
Files changed (1) hide show
  1. canvas.py +1 -1
canvas.py CHANGED
@@ -49,11 +49,11 @@ def placeholder_fn(axis):
49
 
50
 
51
  with gr.Blocks() as b:
 
52
  rotation_axis = gr.Radio(choices=["x", "y", "z"], value="x", label="Joint rotation axis")
53
  pose_template = gr.Radio(choices=["regular", "ballet", "handstand", "split", "kick", "chilling"], value="regular", label="Pose template")
54
  run_button = gr.Button("Generate")
55
 
56
-
57
  rotation_axis.change(fn=placeholder_fn,
58
  inputs=[rotation_axis],
59
  outputs=[],
 
49
 
50
 
51
  with gr.Blocks() as b:
52
+ canvas = gr.HTML(canvas_html, elem_id="canvas_html", visible=True)
53
  rotation_axis = gr.Radio(choices=["x", "y", "z"], value="x", label="Joint rotation axis")
54
  pose_template = gr.Radio(choices=["regular", "ballet", "handstand", "split", "kick", "chilling"], value="regular", label="Pose template")
55
  run_button = gr.Button("Generate")
56
 
 
57
  rotation_axis.change(fn=placeholder_fn,
58
  inputs=[rotation_axis],
59
  outputs=[],