Jyothirmai
commited on
Update app.py
Browse files
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 "
|
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])
|