SerdarHelli commited on
Commit
f6700ce
·
1 Parent(s): db4fe41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,13 +12,13 @@ from Utils import *
12
  from huggingface_hub import hf_hub_download,from_pretrained_keras
13
 
14
  import tensorflow as tf
15
-
16
 
17
  #model = from_pretrained_keras("SerdarHelli/Knee-View-Merchant-Landmark-Detection",use_auth_token=os.environ.get("TOKEN_FROM_SECRET"))
18
 
19
 
20
 
21
- file_path = hf_hub_download("SerdarHelli/Knee-Merchant-Landmark-Demo",filename="knee_merchant_landmark_demo.h5",use_auth_token=os.environ.get("TOKEN"))
22
 
23
 
24
  model = tf.keras.load_model(file_path)
 
12
  from huggingface_hub import hf_hub_download,from_pretrained_keras
13
 
14
  import tensorflow as tf
15
+ from huggingface_hub import hf_hub_url
16
 
17
  #model = from_pretrained_keras("SerdarHelli/Knee-View-Merchant-Landmark-Detection",use_auth_token=os.environ.get("TOKEN_FROM_SECRET"))
18
 
19
 
20
 
21
+ file_path = hf_hub_url("SerdarHelli/Knee-Merchant-Landmark-Demo",filename="knee_merchant_landmark_demo.h5",use_auth_token=os.environ.get("TOKEN"))
22
 
23
 
24
  model = tf.keras.load_model(file_path)