AliAmr0 commited on
Commit
b8d882d
·
verified ·
1 Parent(s): 82daee7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from tensorflow.keras.applications.resnet50 import preprocess_input
4
  from tensorflow.keras.preprocessing import image
5
  import numpy as np
6
  from PIL import Image
 
7
 
8
  # Download the model from Hugging Face
9
  model_path = hf_hub_download(repo_id="AliAmr0/Kidney-Classification-Using-Resnet50", filename="model.h5")
 
4
  from tensorflow.keras.preprocessing import image
5
  import numpy as np
6
  from PIL import Image
7
+ from huggingface_hub import hf_hub_download
8
 
9
  # Download the model from Hugging Face
10
  model_path = hf_hub_download(repo_id="AliAmr0/Kidney-Classification-Using-Resnet50", filename="model.h5")