import streamlit as st st.set_page_config(page_icon=":car:", layout="wide") st.title("License Plate Detection") col1 = st.columns(1)[0] with col1: run_button = st.button("Run Detection") video_col = st.empty() VIDEO_FEED_URL = "http://localhost:5000/detect" video_placeholder = video_col.empty() if run_button: video_placeholder.markdown( f'', unsafe_allow_html=True, ) else: st.info("Click the 'Run Detection' toggle to start the license plate detection.")