Update app.py
Browse files
app.py
CHANGED
@@ -54,4 +54,5 @@ if st.button("Generate Caption"):
|
|
54 |
if st.button('Use Example Image'):
|
55 |
img=Image.open('example.jpg') #link to the original image: https://www.flickr.com/photos/bambe1964/7837618434/
|
56 |
st.image(img, width=300)
|
57 |
-
st.write(generate_caption(
|
|
|
|
54 |
if st.button('Use Example Image'):
|
55 |
img=Image.open('example.jpg') #link to the original image: https://www.flickr.com/photos/bambe1964/7837618434/
|
56 |
st.image(img, width=300)
|
57 |
+
st.write(generate_caption('example.jpg'))
|
58 |
+
st.write(f"Link to the source of the example image: https://www.flickr.com/photos/bambe1964/7837618434/")
|