phyloforfun commited on
Commit
b5cc8d5
1 Parent(s): 72a3893
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -253,7 +253,7 @@ def load_gallery(converted_files, uploaded_file):
253
 
254
 
255
 
256
- @st.cache_data
257
  def handle_image_upload_and_gallery_hf(uploaded_files):
258
  # SAFE = SafetyCheck(st.session_state['is_hf'])
259
  if uploaded_files:
@@ -322,7 +322,7 @@ def handle_image_upload_and_gallery_hf(uploaded_files):
322
  # return False
323
 
324
 
325
- @st.cache_data
326
  def handle_image_upload_and_gallery():
327
 
328
  if st.session_state['view_local_gallery'] and st.session_state['input_list_small'] and (st.session_state['dir_images_local_TEMP'] == st.session_state.config['leafmachine']['project']['dir_images_local']):
 
253
 
254
 
255
 
256
+ # @st.cache_data
257
  def handle_image_upload_and_gallery_hf(uploaded_files):
258
  # SAFE = SafetyCheck(st.session_state['is_hf'])
259
  if uploaded_files:
 
322
  # return False
323
 
324
 
325
+ # @st.cache_data
326
  def handle_image_upload_and_gallery():
327
 
328
  if st.session_state['view_local_gallery'] and st.session_state['input_list_small'] and (st.session_state['dir_images_local_TEMP'] == st.session_state.config['leafmachine']['project']['dir_images_local']):