Fernando Knüttel commited on
Commit
2ab137c
·
1 Parent(s): 43fb1a9

correcting the password access in hugging face

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -18,7 +18,7 @@ def get_base64_of_bin_file(path):
18
 
19
  # Little Password check
20
  def check_password():
21
- HF_PASSWORD = "Hello"
22
  def password_entered():
23
  if st.session_state["password"] == HF_PASSWORD:
24
  st.session_state["password_correct"] = True
 
18
 
19
  # Little Password check
20
  def check_password():
21
+ HF_PASSWORD = os.environment['password']
22
  def password_entered():
23
  if st.session_state["password"] == HF_PASSWORD:
24
  st.session_state["password_correct"] = True