Jyothirmai commited on
Commit
f103c3f
1 Parent(s): ac52d6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def predict(img, model_name, max_tokens, temperature, imgID):
70
  img = getImageID(imgID)
71
  return generate_caption_cnnrnn(img), getCaption(imgID)
72
  else:
73
- return "Caption generation for this model is not yet implemented."
74
 
75
  def getCaption(imgID):
76
  print(real_captions[imgID])
 
70
  img = getImageID(imgID)
71
  return generate_caption_cnnrnn(img), getCaption(imgID)
72
  else:
73
+ return "select a model","select an image"
74
 
75
  def getCaption(imgID):
76
  print(real_captions[imgID])