Commit
·
41e000e
1
Parent(s):
90f7c25
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,11 +14,10 @@ from huggingface_hub import hf_hub_download,from_pretrained_keras
|
|
| 14 |
import tensorflow as tf
|
| 15 |
from huggingface_hub import hf_hub_url
|
| 16 |
|
| 17 |
-
|
| 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)
|
|
|
|
| 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")
|
| 18 |
|
| 19 |
|
| 20 |
|
|
|
|
| 21 |
|
| 22 |
|
| 23 |
model = tf.keras.load_model(file_path)
|