Ways to increase size in of images using st.slider

I was wondering if there is a way to increase the size of a graph network (images) using st.slider?

Hi @peaches , thanks for posting your question. We love hearing from the community!

Is this demo basically what you’re looking for?

import streamlit as st

from PIL import Image

width = st.slider('What is the width in pixels?', 0, 700, 350)

#put your own image here
image = Image.open('test.png')

st.image(image, caption='test', width=width)