Spaces:
Sleeping
Sleeping
Update frontend.py
Browse files- frontend.py +2 -0
frontend.py
CHANGED
@@ -47,6 +47,8 @@ with st.sidebar:
|
|
47 |
st.header("βοΈ PM Config")
|
48 |
st.session_state.dark_mode = st.toggle("π Dark Mode", value=st.session_state.dark_mode)
|
49 |
st.session_state.intelligence_mode = st.toggle("π§ Intelligence Mode", value=st.session_state.intelligence_mode)
|
|
|
|
|
50 |
if api_token.strip() == "my-secret-key":
|
51 |
st.warning("π§ͺ Demo Mode β Not all features are active. Add your API token to unlock full features.")
|
52 |
backend_url = st.text_input("π Backend URL", value="http://localhost:8000")
|
|
|
47 |
st.header("βοΈ PM Config")
|
48 |
st.session_state.dark_mode = st.toggle("π Dark Mode", value=st.session_state.dark_mode)
|
49 |
st.session_state.intelligence_mode = st.toggle("π§ Intelligence Mode", value=st.session_state.intelligence_mode)
|
50 |
+
api_token = st.text_input("π API Token", value="my-secret-key", type="password")
|
51 |
+
|
52 |
if api_token.strip() == "my-secret-key":
|
53 |
st.warning("π§ͺ Demo Mode β Not all features are active. Add your API token to unlock full features.")
|
54 |
backend_url = st.text_input("π Backend URL", value="http://localhost:8000")
|