Hasitha16 commited on
Commit
90267c3
Β·
verified Β·
1 Parent(s): f7382d7

Update frontend.py

Browse files
Files changed (1) hide show
  1. 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")