viveksardey commited on
Commit
d97cd24
·
verified ·
1 Parent(s): 2246113

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ pneumonia_detector_api = Flask(__name__)
11
  IMG_SIZE = 224
12
 
13
  print("Loading model...")
14
- model = load_model("pneumonia_resnet_model.h5", compile=False)
15
  print("Model loaded")
16
 
17
 
 
11
  IMG_SIZE = 224
12
 
13
  print("Loading model...")
14
+ model = load_model("/content/drive/MyDrive/AIML Practice/Python Basics/deployment_files/capstone_backend_files/pneumonia_resnet_model.h5", compile=False)
15
  print("Model loaded")
16
 
17
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- tensorflow-cpu==2.13.0
2
  numpy==1.24.3
3
  flask==2.2.2
4
  Werkzeug==2.2.3
 
1
+ tensorflow==2.21.0
2
  numpy==1.24.3
3
  flask==2.2.2
4
  Werkzeug==2.2.3