Spaces:
Sleeping
Sleeping
File size: 347 Bytes
bf87998 3d7f435 b50af63 4e7ea21 3d7f435 4e7ea21 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import streamlit as st
st.title("Profile")
admin_pass = st.text_input("Admin Access", value="", type="password")
if admin_pass != "":
if admin_pass == st.secrets["admin_pass"]:
st.success("Admin Access Granted")
st.session_state.admin = True
else:
st.error("Wrong Password")
st.session_state.admin = False
|