I would like to customise the st.slider length based on the number of URLs a user inputs, using the slider so users can view the output for each inputted URL one at a time. I was hoping to use this code to create the variable length slider:
choices =  for i in range(len(image_urls_list)): choices.append(i) choice = st.slider('View results for image:', choices)
However, I get this error:
StreamlitAPIException: Slider value should either be an int/float or a list/tuple of int/float
It would be great if the slider can be used as an organisational feature!