How can I make a Deep learning model web server like this

I want to make a web serve page like. It allows people to upload a image or just select the sample image, and some icon for selecting some threshold.


This is the link: YOLOv5 🚀 and Vision AI ⭐
I have known how to upload a file using streamlit thanks to @ snehankekre in this discuss topic