imabackstabber commited on
Commit
c5b4228
·
1 Parent(s): 0f32d82

test postometro pipeline

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -57,14 +57,15 @@ with gr.Blocks(title="PostoMETRO", css=".gradio-container") as demo:
57
  info="PostoMETRO will take in cropped bboxes as input to produce human mesh. A small threshold will prevent redundant bboxes and vice versa.")
58
  num_people = gr.Radio(
59
  choices=["Single person", "Multiple people"],
60
- value="Single person",
61
  label="Number of people",
62
- info="Choose how many people are there in the video. Choose 'single person' for faster inference.",
63
  interactive=True,
64
  scale=1,)
65
  mesh_as_vertices = gr.Checkbox(
66
  label="Render as mesh",
67
- info="By default, the estimated SMPL parameters are rendered as vertices for faster visualization. Check this option if you want to visualize meshes instead.",
 
68
  interactive=True,
69
  scale=1,)
70
  send_button = gr.Button("Infer")
 
57
  info="PostoMETRO will take in cropped bboxes as input to produce human mesh. A small threshold will prevent redundant bboxes and vice versa.")
58
  num_people = gr.Radio(
59
  choices=["Single person", "Multiple people"],
60
+ value="Multiple people",
61
  label="Number of people",
62
+ info="Choose how many people are there in the image. Default to 'Multiple people' for better visualization.",
63
  interactive=True,
64
  scale=1,)
65
  mesh_as_vertices = gr.Checkbox(
66
  label="Render as mesh",
67
+ value=True,
68
+ info="Default to render mesh for better visualization. For faster inference, one can choose to not check the box.",
69
  interactive=True,
70
  scale=1,)
71
  send_button = gr.Button("Infer")