Skip to content

Instantly share code, notes, and snippets.

@talaatmagdyx
Created December 25, 2024 00:46
Show Gist options
  • Select an option

  • Save talaatmagdyx/ad18627a7e27f9df489a26e8483b5779 to your computer and use it in GitHub Desktop.

Select an option

Save talaatmagdyx/ad18627a7e27f9df489a26e8483b5779 to your computer and use it in GitHub Desktop.
from PIL import Image
import streamlit as st
# Load and display an image
image = Image.open("images/example.jpg") # Replace with your image file
st.image(image, caption="Sample Image", use_container_width=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment