Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from huggingface_hub import hf_hub_download
|
|
| 12 |
HF_MODEL_ID = "Vedag812/xray_cnn"
|
| 13 |
CLASS_NAMES = ["NORMAL", "PNEUMONIA"]
|
| 14 |
|
| 15 |
-
|
| 16 |
def load_model():
|
| 17 |
model_path = hf_hub_download(HF_MODEL_ID, filename="xray_cnn.keras")
|
| 18 |
# safe_mode=False allows loading models saved with older or custom configs
|
|
|
|
| 12 |
HF_MODEL_ID = "Vedag812/xray_cnn"
|
| 13 |
CLASS_NAMES = ["NORMAL", "PNEUMONIA"]
|
| 14 |
|
| 15 |
+
|
| 16 |
def load_model():
|
| 17 |
model_path = hf_hub_download(HF_MODEL_ID, filename="xray_cnn.keras")
|
| 18 |
# safe_mode=False allows loading models saved with older or custom configs
|