Mk1443 commited on
Commit
ac9fd9c
·
verified ·
1 Parent(s): 1ef1fe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,8 +76,8 @@ def process_images(front_img, side_img, real_height_cm):
76
  interface = gr.Interface(
77
  fn=process_images,
78
  inputs=[
79
- gr.Image(label="Front Pose"),
80
- gr.Image(label="Side Pose"),
81
  gr.Number(label="Enter Your Height (cm)")
82
  ],
83
  outputs=[
 
76
  interface = gr.Interface(
77
  fn=process_images,
78
  inputs=[
79
+ gr.Image(source="webcam", type="numpy", label="Front Pose"),
80
+ gr.Image(source="webcam", type="numpy", label="Side Pose"),
81
  gr.Number(label="Enter Your Height (cm)")
82
  ],
83
  outputs=[