kmnis commited on
Commit
e2a06e6
1 Parent(s): 47d8710

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,5 +83,5 @@ if img_file_buffer is not None:
83
  detected_face = Image.fromarray(detected_face.numpy().transpose(1, 2, 0).astype(np.uint8))
84
  st.image(detected_face, caption="Detected Face")
85
  embeddings = extract_features(img)
86
- bmi = round(lr.predict([embeddings])[0], 2) - 5
87
  st.write(f"Your BMI is {bmi}")
 
83
  detected_face = Image.fromarray(detected_face.numpy().transpose(1, 2, 0).astype(np.uint8))
84
  st.image(detected_face, caption="Detected Face")
85
  embeddings = extract_features(img)
86
+ bmi = round(lr.predict([embeddings])[0], 2)
87
  st.write(f"Your BMI is {bmi}")