Nikhil0987 CosmoAI commited on
Commit
84150a6
·
1 Parent(s): 0cb4925

Update app.py (#4)

Browse files

- Update app.py (02e787c9546a45340edd89357cc0eb75cea5025a)


Co-authored-by: Sachin Verma <CosmoAI@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def login():
49
  else:
50
  st.error("Incorrect Password")
51
  elif password == "go":
52
- st.session_state.user = usrname
53
  st.experimental_rerun()
54
  else:
55
  st.error("Incorrect Username")
 
49
  else:
50
  st.error("Incorrect Password")
51
  elif password == "go":
52
+ st.session_state.user = "logged"
53
  st.experimental_rerun()
54
  else:
55
  st.error("Incorrect Username")