Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|
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}")
|