SerdarHelli commited on
Commit
1ac6186
·
1 Parent(s): 76eb9df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,16 +8,16 @@ from PIL import Image
8
  import numpy as np
9
  import cv2
10
  from Utils import *
11
-
12
  from huggingface_hub import hf_hub_download
13
 
14
 
15
 
16
- file_path = hf_hub_download("SerdarHelli/Knee-View-Merchant-Landmark-Detection",
17
  use_auth_token=os.environ.get("TOKEN_FROM_SECRET"))
18
 
19
 
20
- model=tensorflow.keras.load_model(file_path)
21
 
22
  st.subheader("Upload Merchant Knee View")
23
  image_file = st.file_uploader("Upload Images", type=["dcm"])
 
8
  import numpy as np
9
  import cv2
10
  from Utils import *
11
+ import tensorflow as tf
12
  from huggingface_hub import hf_hub_download
13
 
14
 
15
 
16
+ file_path = hf_hub_download("SerdarHelli/Knee-View-Merchant-Landmark-Detection",""
17
  use_auth_token=os.environ.get("TOKEN_FROM_SECRET"))
18
 
19
 
20
+ model=tf.keras.load_model(file_path)
21
 
22
  st.subheader("Upload Merchant Knee View")
23
  image_file = st.file_uploader("Upload Images", type=["dcm"])