zastixx commited on
Commit
3f8ca9a
·
verified ·
1 Parent(s): 938d2fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import streamlit as st
2
  import firebase_admin
3
  from firebase_admin import credentials, auth
@@ -80,7 +81,7 @@ def main():
80
  password = st.text_input("Password", type="password")
81
  login_button = st.form_submit_button("Login")
82
 
83
- if login_button:
84
  if login(email, password):
85
  if 'logged_in' in st.session_state and st.session_state['logged_in']: # Check if logged in
86
  st.switch_page("pages/VX1000 BetaV Model.py")# Redirect to new page after successful login
@@ -94,10 +95,13 @@ def main():
94
  <p>© 2024 VX1000 BetaV All rights reserved.</p>
95
  <p>Made with ❤️ by<a href="https://builtwithtarun.me/" target="_blank"> Tarun</a></p>
96
 
97
- </footer>
98
  """,
99
  unsafe_allow_html=True
100
  )
101
 
102
  if __name__ == "__main__":
103
  main()
 
 
 
 
1
+ """
2
  import streamlit as st
3
  import firebase_admin
4
  from firebase_admin import credentials, auth
 
81
  password = st.text_input("Password", type="password")
82
  login_button = st.form_submit_button("Login")
83
 
84
+ # if login_button:
85
  if login(email, password):
86
  if 'logged_in' in st.session_state and st.session_state['logged_in']: # Check if logged in
87
  st.switch_page("pages/VX1000 BetaV Model.py")# Redirect to new page after successful login
 
95
  <p>© 2024 VX1000 BetaV All rights reserved.</p>
96
  <p>Made with ❤️ by<a href="https://builtwithtarun.me/" target="_blank"> Tarun</a></p>
97
 
98
+ </footer>
99
  """,
100
  unsafe_allow_html=True
101
  )
102
 
103
  if __name__ == "__main__":
104
  main()
105
+ """
106
+ import streamlit as st
107
+ <p>© 2024 VX1000 BetaV All rights reserved.</p>