Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -316,7 +316,7 @@ def cooking():
|
|
316 |
if st.session_state.recipe is not None:
|
317 |
st.divider()
|
318 |
print(st.session_state.recipe)
|
319 |
-
recipe =
|
320 |
if not st.session_state.recipe_saved:
|
321 |
show_recipe(recipe)
|
322 |
recipe['timestamp'] = str(datetime.datetime.now())
|
|
|
316 |
if st.session_state.recipe is not None:
|
317 |
st.divider()
|
318 |
print(st.session_state.recipe)
|
319 |
+
recipe = json.loads(st.session_state.recipe)
|
320 |
if not st.session_state.recipe_saved:
|
321 |
show_recipe(recipe)
|
322 |
recipe['timestamp'] = str(datetime.datetime.now())
|