farid678 commited on
Commit
120df77
1 Parent(s): cb50e5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def predict_age_gender(image):
8
  json_file.close()
9
 
10
  model = model_from_json(loaded_file_json)
11
- model.load_weights('model_weights.hdf5')
12
 
13
 
14
  # img_pixels = image.img_to_array(image)
 
8
  json_file.close()
9
 
10
  model = model_from_json(loaded_file_json)
11
+ model.load_weights('saved_modelpb')
12
 
13
 
14
  # img_pixels = image.img_to_array(image)