Spaces:
Running
Running
adrianpierce
commited on
Commit
•
d9f792c
1
Parent(s):
0cde4e0
Update Home.py
Browse files
Home.py
CHANGED
@@ -29,6 +29,9 @@ if 'selected_difficulty' not in st.session_state:
|
|
29 |
if 'exclusions' not in st.session_state:
|
30 |
st.session_state.exclusions = None
|
31 |
|
|
|
|
|
|
|
32 |
|
33 |
# functions
|
34 |
def create_detailed_prompt(user_direction, exclusions, serving_size, difficulty):
|
|
|
29 |
if 'exclusions' not in st.session_state:
|
30 |
st.session_state.exclusions = None
|
31 |
|
32 |
+
if 'admin' not in st.session_state:
|
33 |
+
st.session_state.admin = False
|
34 |
+
|
35 |
|
36 |
# functions
|
37 |
def create_detailed_prompt(user_direction, exclusions, serving_size, difficulty):
|