Gopalag commited on
Commit
fba56c2
·
verified ·
1 Parent(s): 7b093a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,8 +69,8 @@ def process_images(front_img, side_img, real_height_cm):
69
  interface = gr.Interface(
70
  fn=process_images,
71
  inputs=[
72
- gr.Image(sources="webcam", type="numpy", label="Front Pose"),
73
- gr.Image(sources="webcam", type="numpy", label="Side Pose"),
74
  gr.Number(label="Enter Your Height (cm)")
75
  ],
76
  outputs=gr.HTML(label="Measurement Results"), # Use HTML output to display the measurements
 
69
  interface = gr.Interface(
70
  fn=process_images,
71
  inputs=[
72
+ gr.Image(sources=["webcam", "upload"], type="numpy", label="Front Pose"),
73
+ gr.Image(sources=["webcam", "upload"], type="numpy", label="Side Pose"),
74
  gr.Number(label="Enter Your Height (cm)")
75
  ],
76
  outputs=gr.HTML(label="Measurement Results"), # Use HTML output to display the measurements