Spaces:
Sleeping
Sleeping
Ashmi Banerjee
commited on
Commit
·
3cce446
1
Parent(s):
bfa9b50
nav buttons fixed the exit & save thing
Browse files- views/intro_screen.py +0 -14
views/intro_screen.py
CHANGED
@@ -29,20 +29,6 @@ def welcome_screen():
|
|
29 |
if (username_input and validation_code_input) or next_button:
|
30 |
if validate_username(username_input) and validate_code(validation_code_input):
|
31 |
st.session_state.username = username_input
|
32 |
-
|
33 |
-
# # Check if user progress exists in Firebase
|
34 |
-
# saved_state = read(username_input)
|
35 |
-
#
|
36 |
-
# if saved_state:
|
37 |
-
# # Show continue survey screen for returning users
|
38 |
-
# st.success("Previous progress found.")
|
39 |
-
# continue_survey_screen()
|
40 |
-
# else:
|
41 |
-
# # Start fresh for new users
|
42 |
-
# st.success("Starting a new survey.")
|
43 |
-
# st.session_state.current_index = 0
|
44 |
-
# st.session_state.responses = []
|
45 |
-
# st.rerun()
|
46 |
else:
|
47 |
if not validate_username(username_input):
|
48 |
st.warning("Invalid Prolific ID. Please check and try again.")
|
|
|
29 |
if (username_input and validation_code_input) or next_button:
|
30 |
if validate_username(username_input) and validate_code(validation_code_input):
|
31 |
st.session_state.username = username_input
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
else:
|
33 |
if not validate_username(username_input):
|
34 |
st.warning("Invalid Prolific ID. Please check and try again.")
|