savitha7 commited on
Commit
2152bda
1 Parent(s): f88bd74

update response with height

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- #predicted_weight = calculate_weight(bmi_prediction, height_in_inches)
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 = {