import streamlit as st prefix = 'https://raw.githubusercontent.com/BennoKrojer/imagecode-val-set/main/image-sets-val/' st.image(prefix + 'MSR-VTT-videoTestVideo_video7016-shot1_2/img224.jpg', use_column_width=True) # from PIL import Image # import glob # images = glob.glob("/path/to/images/") # index= st.number_input('Index') # if st.button('Next'): # index+=1 # if st.button('Prev'): # if index > 0: # index = index -1 # image = Image.open(images[index]) # st.image(image, use_column_width=True) # x = st.slider('Select a value') # st.write(x, 'squared is', x * x)