eagle0504 commited on
Commit
5d98d9d
·
verified ·
1 Parent(s): 814c262

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -137,6 +137,16 @@ if st.session_state["authentication_status"]:
137
  """
138
  )
139
 
 
 
 
 
 
 
 
 
 
 
140
  with st.sidebar:
141
  with st.expander("Login 🔒", expanded=True):
142
  authenticator.login("Login", "main")
@@ -166,14 +176,3 @@ if st.session_state["authentication_status"]:
166
  st.error("Username/password is incorrect")
167
  elif st.session_state["authentication_status"] is None:
168
  st.warning("Please enter your username and password")
169
-
170
-
171
- page_names_to_funcs = {
172
- "Software Engineer Basics": software_engineer_basics
173
- }
174
-
175
- demo_name = st.sidebar.radio(
176
- "Choose a topic below:", key="visibility", options=page_names_to_funcs.keys()
177
- )
178
-
179
- page_names_to_funcs[demo_name]()
 
137
  """
138
  )
139
 
140
+ page_names_to_funcs = {
141
+ "Software Engineer Basics": software_engineer_basics
142
+ }
143
+
144
+ demo_name = st.sidebar.radio(
145
+ "Choose a topic below:", key="visibility", options=page_names_to_funcs.keys()
146
+ )
147
+
148
+ page_names_to_funcs[demo_name]()
149
+
150
  with st.sidebar:
151
  with st.expander("Login 🔒", expanded=True):
152
  authenticator.login("Login", "main")
 
176
  st.error("Username/password is incorrect")
177
  elif st.session_state["authentication_status"] is None:
178
  st.warning("Please enter your username and password")