kmnis commited on
Commit
fcbc69f
·
1 Parent(s): 98236a1

Minor change in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,5 +76,5 @@ if img_file_buffer is not None:
76
  st.image(detected_image, caption="Detected Face")
77
 
78
  embeddings = extract_features(img)
79
- bmi = round(lr.predict([embeddings])[0], 2)
80
  st.write(f"Your BMI is {bmi}")
 
76
  st.image(detected_image, caption="Detected Face")
77
 
78
  embeddings = extract_features(img)
79
+ bmi = round(lr.predict([embeddings])[0], 2) - 4 # Because the model is consistently over predicting the BMI values
80
  st.write(f"Your BMI is {bmi}")