OmPrakashSingh1704 commited on
Commit
1dda52e
1 Parent(s): 0de6728

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -332,9 +332,10 @@ def cooking():
332
  st.empty()
333
  if st.session_state.recipe_saved == True:
334
  st.success("Recipe Saved!")
335
- @st.fragment
336
  def rsaved():
337
  st.title("Saved Recipes")
 
338
  def load_saved_recipes_from_pickle(directory_path):
339
  os.makedirs('data', exist_ok=True)
340
  recipes = []
 
332
  st.empty()
333
  if st.session_state.recipe_saved == True:
334
  st.success("Recipe Saved!")
335
+
336
  def rsaved():
337
  st.title("Saved Recipes")
338
+ @st.cache_resource
339
  def load_saved_recipes_from_pickle(directory_path):
340
  os.makedirs('data', exist_ok=True)
341
  recipes = []