Spaces:
Runtime error
Runtime error
Update canvas.py
Browse files
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=[],
|