maaz21 commited on
Commit
cb2a5ba
·
verified ·
1 Parent(s): cc10ac9

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -392,7 +392,7 @@ def main():
392
  image = Image.open(BytesIO(image_content))
393
 
394
  with preview_cols[i % 4]:
395
- st.image(image, caption=filename, use_column_width=True)
396
  except:
397
  # If image can't be displayed, show filename only
398
  with preview_cols[i % 4]:
 
392
  image = Image.open(BytesIO(image_content))
393
 
394
  with preview_cols[i % 4]:
395
+ st.image(image, caption=filename, use_container_width=True)
396
  except:
397
  # If image can't be displayed, show filename only
398
  with preview_cols[i % 4]: