farid678 commited on
Commit
c15f552
1 Parent(s): 7952780

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.index')
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('model_weights.hdf5')
12
 
13
 
14
  # img_pixels = image.img_to_array(image)