saichandrapandraju commited on
Commit
51ba127
1 Parent(s): f0dfb12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def generate_caption(image_name):
75
  feature = vgg16_model.predict(image)
76
  # predict the caption
77
  y_pred = predict_caption(feature, max_length)
78
- return y_pred.repalce("startseq", "").replace("endseq", "").strip()
79
 
80
 
81
  st.title("""
 
75
  feature = vgg16_model.predict(image)
76
  # predict the caption
77
  y_pred = predict_caption(feature, max_length)
78
+ return y_pred.replace("startseq", "").replace("endseq", "").strip()
79
 
80
 
81
  st.title("""