Spaces:
Build error
Build error
archietram
commited on
Commit
•
165f545
1
Parent(s):
8595168
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def classify_image(img):
|
|
16 |
result_text = "This is a picture of a " + round(preds[0], 0) + " person with a BMI of" + round(preds[0], 1) + " kg/m^2"
|
17 |
return result_text
|
18 |
|
19 |
-
image = gr.inputs.Image(
|
20 |
label = gr.outputs.Label()
|
21 |
examples = ['A00147.png','A00360.png','angela lansbury.jpg']
|
22 |
title = 'Predict Age and Body Mass Index from a Picture'
|
|
|
16 |
result_text = "This is a picture of a " + round(preds[0], 0) + " person with a BMI of" + round(preds[0], 1) + " kg/m^2"
|
17 |
return result_text
|
18 |
|
19 |
+
image = gr.inputs.Image()
|
20 |
label = gr.outputs.Label()
|
21 |
examples = ['A00147.png','A00360.png','angela lansbury.jpg']
|
22 |
title = 'Predict Age and Body Mass Index from a Picture'
|