BeyzaTopbas commited on
Commit
9f43153
·
verified ·
1 Parent(s): 1507bf1

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -3,6 +3,7 @@ import numpy as np
3
  import tensorflow as tf
4
  from PIL import Image
5
  import os
 
6
 
7
  # 👇 HIER PLAATSEN (boven load_model)
8
  MODEL_PATH = "/app/src/facial_keypoints_resnet.h5"
@@ -45,7 +46,6 @@ if uploaded_file is not None:
45
  st.subheader("Predicted Keypoints (x, y)")
46
  st.write(keypoints)
47
 
48
- import matplotlib.pyplot as plt
49
 
50
  fig, ax = plt.subplots()
51
  ax.imshow(image, cmap='gray')
 
3
  import tensorflow as tf
4
  from PIL import Image
5
  import os
6
+ import matplotlib.pyplot as plt
7
 
8
  # 👇 HIER PLAATSEN (boven load_model)
9
  MODEL_PATH = "/app/src/facial_keypoints_resnet.h5"
 
46
  st.subheader("Predicted Keypoints (x, y)")
47
  st.write(keypoints)
48
 
 
49
 
50
  fig, ax = plt.subplots()
51
  ax.imshow(image, cmap='gray')