Vedag812 commited on
Commit
8ea9e10
·
verified ·
1 Parent(s): e90584a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- @gr.cache_resource
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