Omnibus commited on
Commit
be619ff
·
1 Parent(s): a39ee1c

Update canvas.py

Browse files
Files changed (1) hide show
  1. canvas.py +3 -2
canvas.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
 
3
  load_js = """
@@ -41,8 +42,8 @@ def placeholder_fn(axis):
41
 
42
 
43
  gr.Interface(
44
- rotation_axis = gr.Radio(["x", "y", "z"], value="x", label="Joint rotation axis")
45
- pose_template = gr.Radio(["regular", "ballet", "handstand", "split", "kick", "chilling"], value="regular", label="Pose template")
46
  run_button = gr.Button("Generate")
47
 
48
 
 
1
+ #This code is from: https://huggingface.co/spaces/diffusers/controlnet-3d-pose
2
  import gradio as gr
3
 
4
  load_js = """
 
42
 
43
 
44
  gr.Interface(
45
+ rotation_axis = gr.Radio(choices=["x", "y", "z"], value="x", label="Joint rotation axis")
46
+ pose_template = gr.Radio(choices=["regular", "ballet", "handstand", "split", "kick", "chilling"], value="regular", label="Pose template")
47
  run_button = gr.Button("Generate")
48
 
49