CosmoAI commited on
Commit
5761e08
·
1 Parent(s): 1760e7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -55,6 +55,10 @@ def login():
55
  def register():
56
  st.write("Register")
57
  username = st.text_input("Email")
 
 
 
 
58
  password = st.text_input("Password", type="password")
59
  data = {
60
  "Username": username,
 
55
  def register():
56
  st.write("Register")
57
  username = st.text_input("Email")
58
+ if validate_email(username):
59
+ st.success("The email address is valid.")
60
+ else:
61
+ st.error("The email address is not valid.")
62
  password = st.text_input("Password", type="password")
63
  data = {
64
  "Username": username,