Amite5h commited on
Commit
1c13c3b
·
1 Parent(s): 06b2c37

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -308,7 +308,7 @@ def load_image_from_path(img_path):
308
  return img
309
 
310
 
311
- def generate_caption(img_path, add_noise=False):
312
  img = load_image_from_path(img_path)
313
 
314
  if add_noise:
 
308
  return img
309
 
310
 
311
+ def generate_caption(img_path,caption_model, add_noise=False):
312
  img = load_image_from_path(img_path)
313
 
314
  if add_noise: