Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def signUp():
|
|
20 |
newuser = {
|
21 |
"username": username,"password": Password
|
22 |
}
|
23 |
-
if st.button
|
24 |
if password == confpass:
|
25 |
savedata(newuser)
|
26 |
|
@@ -34,9 +34,9 @@ def Login():
|
|
34 |
username = st.text_input("username")
|
35 |
password = st.text_input("Password")
|
36 |
|
37 |
-
if st.button
|
38 |
|
39 |
-
if username
|
40 |
st.sucess("You are logged in")
|
41 |
else:
|
42 |
st.error("Your username or password do not match")
|
|
|
20 |
newuser = {
|
21 |
"username": username,"password": Password
|
22 |
}
|
23 |
+
if st.button("SignUp"):
|
24 |
if password == confpass:
|
25 |
savedata(newuser)
|
26 |
|
|
|
34 |
username = st.text_input("username")
|
35 |
password = st.text_input("Password")
|
36 |
|
37 |
+
if st.button("Login"):
|
38 |
|
39 |
+
if username == "Username" and password == "Password"
|
40 |
st.sucess("You are logged in")
|
41 |
else:
|
42 |
st.error("Your username or password do not match")
|