awacke1 commited on
Commit
f7a3f2c
·
verified ·
1 Parent(s): 66e3445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -934,8 +934,8 @@ def display_images_and_wikipedia_summaries(num_columns=4):
934
  with cols[col_index % num_columns]: # Cycle through columns based on num_columns
935
  try:
936
  image = Image.open(image_file)
937
- #st.image(image, caption=image_file, use_column_width=True)
938
- st.image(image, use_column_width=True)
939
  k = image_file.split('.')[0] # Assumes keyword is the file name without extension
940
  display_glossary_entity(k)
941
 
 
934
  with cols[col_index % num_columns]: # Cycle through columns based on num_columns
935
  try:
936
  image = Image.open(image_file)
937
+ #st.image(image, caption=image_file, use_container_width=True)
938
+ st.image(image, use_container_width=True)
939
  k = image_file.split('.')[0] # Assumes keyword is the file name without extension
940
  display_glossary_entity(k)
941