Asankhaya Sharma
commited on
Commit
·
995a6ce
1
Parent(s):
8d0776b
handle guest user
Browse files
main.py
CHANGED
@@ -72,6 +72,7 @@ if st.session_state["authenticated"]:
|
|
72 |
if st.session_state["username"]:
|
73 |
st.success(f"Welcome {st.session_state['username']}")
|
74 |
else:
|
|
|
75 |
st.success("Welcome guest")
|
76 |
|
77 |
# Initialize session state variables
|
|
|
72 |
if st.session_state["username"]:
|
73 |
st.success(f"Welcome {st.session_state['username']}")
|
74 |
else:
|
75 |
+
st.session_state["username"] = 'guest'
|
76 |
st.success("Welcome guest")
|
77 |
|
78 |
# Initialize session state variables
|