kausthubkannan17 commited on
Commit
9a79f6a
·
1 Parent(s): b3d24e5

fix: redirect added to all pages

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -35,6 +35,9 @@ def disable_sidebar(page_title: str):
35
  """
36
  st.markdown(no_sidebar_style, unsafe_allow_html=True)
37
 
 
 
 
38
 
39
  def main():
40
  disable_sidebar("Drake")
 
35
  """
36
  st.markdown(no_sidebar_style, unsafe_allow_html=True)
37
 
38
+ if "metadata" not in st.session_state:
39
+ st.switch_page("app.py")
40
+
41
 
42
  def main():
43
  disable_sidebar("Drake")