Spaces:
Sleeping
Sleeping
OmPrakashSingh1704
commited on
Commit
•
27914ba
1
Parent(s):
23d55cf
Update app.py
Browse files
app.py
CHANGED
@@ -279,7 +279,7 @@ if mode:
|
|
279 |
filename = create_safe_filename(recipe["name"])
|
280 |
os.makedirs('data', exist_ok=True)
|
281 |
with open(f'./data/{filename}.pkl', 'wb') as f:
|
282 |
-
pickle.dump(recipe, f
|
283 |
st.session_state.recipe_saved = True
|
284 |
|
285 |
if st.session_state.recipe is not None:
|
|
|
279 |
filename = create_safe_filename(recipe["name"])
|
280 |
os.makedirs('data', exist_ok=True)
|
281 |
with open(f'./data/{filename}.pkl', 'wb') as f:
|
282 |
+
pickle.dump(recipe, f)
|
283 |
st.session_state.recipe_saved = True
|
284 |
|
285 |
if st.session_state.recipe is not None:
|