Spaces:
Running
Running
update response with height
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def predict_bmi(image, height_in_inches):
|
|
108 |
print(bmi_prediction)
|
109 |
|
110 |
# Calculate weight using user-provided height
|
111 |
-
|
112 |
|
113 |
# Create the JSON output
|
114 |
result = {
|
|
|
108 |
print(bmi_prediction)
|
109 |
|
110 |
# Calculate weight using user-provided height
|
111 |
+
predicted_weight = calculate_weight(bmi_prediction, height_in_inches)
|
112 |
|
113 |
# Create the JSON output
|
114 |
result = {
|