Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=[
|