Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -1
src/streamlit_app.py
CHANGED
|
@@ -16,9 +16,10 @@ st.set_page_config(
|
|
| 16 |
def load_model():
|
| 17 |
return tf.keras.models.load_model(
|
| 18 |
MODEL_PATH,
|
| 19 |
-
|
| 20 |
)
|
| 21 |
|
|
|
|
| 22 |
st.title("Facial Keypoints Detection")
|
| 23 |
st.write("Upload a face image and the model will predict facial keypoints.")
|
| 24 |
|
|
|
|
| 16 |
def load_model():
|
| 17 |
return tf.keras.models.load_model(
|
| 18 |
MODEL_PATH,
|
| 19 |
+
compile=False # 🔥 BELANGRIJK
|
| 20 |
)
|
| 21 |
|
| 22 |
+
|
| 23 |
st.title("Facial Keypoints Detection")
|
| 24 |
st.write("Upload a face image and the model will predict facial keypoints.")
|
| 25 |
|