import streamlit as st st.title("Spatial Parser Demo") password = st.text_input("Enter access password:", type="password") if password != "demo1234": st.warning("Please enter the correct password to continue.") st.stop() # 👇真实内容放在这下面 st.write("Welcome to the demo!")