viveksardey commited on
Commit
87706ee
·
verified ·
1 Parent(s): 8f042d2

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
@@ -8,7 +8,7 @@ pneumonia_detector_api = Flask(__name__)
8
  IMG_SIZE = 224
9
 
10
  print("Loading model...")
11
- model = load_model("pneumonia_resnet_model.h5")
12
  print("Model loaded")
13
 
14
 
 
8
  IMG_SIZE = 224
9
 
10
  print("Loading model...")
11
+ model = load_model("pneumonia_resnet_model.h5", compile=False)
12
  print("Model loaded")
13
 
14
 
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.13.0
2
  numpy==1.24.3
3
  flask==2.2.2
4
  Werkzeug==2.2.3