awacke1 commited on
Commit
8c7e106
1 Parent(s): 945f32a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -237,9 +237,9 @@ def display_images_and_wikipedia_summaries():
237
  st.write("No PNG images found in the current directory.")
238
  return
239
 
240
- keyword = image_file.split('.')[0] # Assumes keyword is the file name without extension
241
 
242
  for image_file in image_files:
 
243
  image = Image.open(image_file)
244
  st.image(image, caption=image_file, use_column_width=True)
245
 
 
237
  st.write("No PNG images found in the current directory.")
238
  return
239
 
 
240
 
241
  for image_file in image_files:
242
+ keyword = image_file.split('.')[0] # Assumes keyword is the file name without extension
243
  image = Image.open(image_file)
244
  st.image(image, caption=image_file, use_column_width=True)
245