Spaces:
Sleeping
Sleeping
eaglelandsonce
commited on
Update pages/30_Medical_Architectures.py
Browse files
pages/30_Medical_Architectures.py
CHANGED
@@ -21,7 +21,7 @@ def display_article(index):
|
|
21 |
st.write(article['description'])
|
22 |
|
23 |
# Display the image centered
|
24 |
-
st.image(article['image'],
|
25 |
|
26 |
# Display the link
|
27 |
st.markdown(f"<div style='text-align: center;'><a href='{article['href']}' target='_blank'>Read more</a></div>", unsafe_allow_html=True)
|
|
|
21 |
st.write(article['description'])
|
22 |
|
23 |
# Display the image centered
|
24 |
+
st.image(article['image'], caption=article['title'])
|
25 |
|
26 |
# Display the link
|
27 |
st.markdown(f"<div style='text-align: center;'><a href='{article['href']}' target='_blank'>Read more</a></div>", unsafe_allow_html=True)
|