fbrynpk commited on
Commit
7b08a51
1 Parent(s): 88111ff

Update app to use new model

Browse files
Files changed (1) hide show
  1. model.py +2 -2
model.py CHANGED
@@ -315,8 +315,8 @@ def get_caption_model():
315
  caption_model.decoder(sample_y, sample_enc_out, training=False)
316
 
317
  try:
318
- caption_model.load_weights('models/trained_coco_weights.h5')
319
  except FileNotFoundError:
320
- caption_model.load_weights('image-caption-generator/models/trained_coco_weights.h5')
321
 
322
  return caption_model
 
315
  caption_model.decoder(sample_y, sample_enc_out, training=False)
316
 
317
  try:
318
+ caption_model.load_weights('models/trained_coco_weights_2.h5')
319
  except FileNotFoundError:
320
+ caption_model.load_weights('image-caption-generator/models/trained_coco_weights_2.h5')
321
 
322
  return caption_model