Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -6
src/streamlit_app.py
CHANGED
|
@@ -11,12 +11,6 @@ st.set_page_config(
|
|
| 11 |
st.title("Facial Keypoints Detection")
|
| 12 |
st.write("Upload a face image and the model will predict facial keypoints.")
|
| 13 |
|
| 14 |
-
import os
|
| 15 |
-
|
| 16 |
-
MODEL_PATH = os.path.join(
|
| 17 |
-
os.path.dirname(__file__),
|
| 18 |
-
"facial_keypoints_resnet.h5"
|
| 19 |
-
)
|
| 20 |
|
| 21 |
@st.cache_resource
|
| 22 |
def load_model():
|
|
|
|
| 11 |
st.title("Facial Keypoints Detection")
|
| 12 |
st.write("Upload a face image and the model will predict facial keypoints.")
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
@st.cache_resource
|
| 16 |
def load_model():
|