SUNGJIN LEE commited on
Commit
27ecc43
·
1 Parent(s): a221baf

Recommendation System 개선

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ def login():
12
  password = st.text_input("Password", type="password")
13
  login = st.form_submit_button("Login")
14
  if login:
15
- if username== st.secrets["auth"]["username"] and password == st.secrets["auth"]["password"]:
16
- # if username== os.getenv("username") and password == os.getenv("password"):
17
  st.session_state.logged_in = True
18
  st.rerun()
19
  else:
 
12
  password = st.text_input("Password", type="password")
13
  login = st.form_submit_button("Login")
14
  if login:
15
+ # if username== st.secrets["auth"]["username"] and password == st.secrets["auth"]["password"]:
16
+ if username== os.getenv("username") and password == os.getenv("password"):
17
  st.session_state.logged_in = True
18
  st.rerun()
19
  else: