BeyzaTopbas commited on
Commit
9b7b4f2
·
verified ·
1 Parent(s): 280fcba

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -4,7 +4,7 @@ import tensorflow as tf
4
  from PIL import Image
5
  import os
6
 
7
- BASE_DIR = os.path.dirname(__file__)
8
  MODEL_PATH = os.path.join(BASE_DIR, "facial_keypoints_resnet.h5")
9
 
10
  st.set_page_config(
 
4
  from PIL import Image
5
  import os
6
 
7
+ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
8
  MODEL_PATH = os.path.join(BASE_DIR, "facial_keypoints_resnet.h5")
9
 
10
  st.set_page_config(