Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,10 +51,12 @@ def placeholder_fn(axis):
|
|
| 51 |
|
| 52 |
|
| 53 |
with gr.Blocks() as b:
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
|
| 59 |
rotation_axis.change(fn=placeholder_fn,
|
| 60 |
inputs=[rotation_axis],
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
with gr.Blocks() as b:
|
| 54 |
+
with gr.Row():
|
| 55 |
+
canvas = gr.HTML(canvas_html, elem_id="canvas_html", visible=True)
|
| 56 |
+
with gr.Column():
|
| 57 |
+
rotation_axis = gr.Radio(choices=["x", "y", "z"], value="x", label="Joint rotation axis")
|
| 58 |
+
pose_template = gr.Radio(choices=["regular", "ballet", "handstand", "split", "kick", "chilling"], value="regular", label="Pose template")
|
| 59 |
+
run_button = gr.Button("Generate")
|
| 60 |
|
| 61 |
rotation_axis.change(fn=placeholder_fn,
|
| 62 |
inputs=[rotation_axis],
|