Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -302,7 +302,8 @@ if not mode:
|
|
302 |
st.divider()
|
303 |
print(st.session_state.recipe)
|
304 |
recipe = json.loads(st.session_state.recipe)
|
305 |
-
|
|
|
306 |
recipe['timestamp'] = str(datetime.datetime.now())
|
307 |
if st.session_state.recipe_saved == True:
|
308 |
disable_button = True
|
|
|
302 |
st.divider()
|
303 |
print(st.session_state.recipe)
|
304 |
recipe = json.loads(st.session_state.recipe)
|
305 |
+
if not st.session_state.recipe_saved:
|
306 |
+
show_recipe(recipe)
|
307 |
recipe['timestamp'] = str(datetime.datetime.now())
|
308 |
if st.session_state.recipe_saved == True:
|
309 |
disable_button = True
|