Spaces:
Running
Running
update response
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def predict_bmi(image, height_in_inches):
|
|
115 |
"weightCategory": f"{predicted_bmi_class} - {finer_bmi_range}",
|
116 |
"bmiPrediction": f"{bmi_prediction:.2f}",
|
117 |
"height": str(height_in_inches),
|
118 |
-
|
119 |
}
|
120 |
|
121 |
return result
|
|
|
115 |
"weightCategory": f"{predicted_bmi_class} - {finer_bmi_range}",
|
116 |
"bmiPrediction": f"{bmi_prediction:.2f}",
|
117 |
"height": str(height_in_inches),
|
118 |
+
"predictedWeight": f"{predicted_weight:.2f} lbs"
|
119 |
}
|
120 |
|
121 |
return result
|