from PIL import Image
# Load the uploaded image
image_path = "/mnt/data/IMG_20230823_005640.jpg"
image = Image.open(image_path)
# Display basic info about the image
image.size, image.mode