Spaces:
Running
Running
Update app.py
Browse files
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,
|
938 |
-
st.image(image,
|
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 |
|