Omnibus commited on
Commit
d7b3b72
·
1 Parent(s): 959a59f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -51,10 +51,12 @@ def placeholder_fn(axis):
51
 
52
 
53
  with gr.Blocks() as b:
54
- canvas = gr.HTML(canvas_html, elem_id="canvas_html", visible=True)
55
- rotation_axis = gr.Radio(choices=["x", "y", "z"], value="x", label="Joint rotation axis")
56
- pose_template = gr.Radio(choices=["regular", "ballet", "handstand", "split", "kick", "chilling"], value="regular", label="Pose template")
57
- run_button = gr.Button("Generate")
 
 
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],