Spaces:
Sleeping
Sleeping
OmPrakashSingh1704
commited on
Commit
•
76d4008
1
Parent(s):
7042fc3
Update app.py
Browse files
app.py
CHANGED
@@ -317,7 +317,8 @@ def cooking():
|
|
317 |
st.divider()
|
318 |
print(st.session_state.recipe)
|
319 |
recipe = ast.literal_eval(st.session_state.recipe)
|
320 |
-
|
|
|
321 |
recipe['timestamp'] = str(datetime.datetime.now())
|
322 |
if st.session_state.recipe_saved == True:
|
323 |
disable_button = True
|
|
|
317 |
st.divider()
|
318 |
print(st.session_state.recipe)
|
319 |
recipe = ast.literal_eval(st.session_state.recipe)
|
320 |
+
if not st.session_state.recipe_saved:
|
321 |
+
show_recipe(recipe)
|
322 |
recipe['timestamp'] = str(datetime.datetime.now())
|
323 |
if st.session_state.recipe_saved == True:
|
324 |
disable_button = True
|