ivnban27-ctl commited on
Commit
4c68fcc
·
verified ·
1 Parent(s): 2a2eeff

temporary disabling of aliveness caching

Browse files
Files changed (1) hide show
  1. utils/app_utils.py +1 -1
utils/app_utils.py CHANGED
@@ -101,7 +101,7 @@ def is_model_alive(name, timeout=2, model_type="classificator"):
101
  except:
102
  return "404"
103
 
104
- @st.cache_data(ttl=300, show_spinner=False)
105
  def are_models_alive():
106
  models_alive = []
107
  for config in ENDPOINT_NAMES.values():
 
101
  except:
102
  return "404"
103
 
104
+ # @st.cache_data(ttl=300, show_spinner=False)
105
  def are_models_alive():
106
  models_alive = []
107
  for config in ENDPOINT_NAMES.values():