kasand commited on
Commit
9245da8
1 Parent(s): 95c9c5e

try out st.cache_resource, test

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ class Process:
23
  """
24
 
25
  @staticmethod
26
- @st.cache_data(ttl=60 * 60, max_entries=3, allow_output_mutation=True, show_spinner=False)
27
  def get(components, data):
28
  """
29
  Lookup or creates a new workflow process instance.
 
23
  """
24
 
25
  @staticmethod
26
+ @st.cache_resource(ttl=60 * 60, max_entries=3, allow_output_mutation=True, show_spinner=False)
27
  def get(components, data):
28
  """
29
  Lookup or creates a new workflow process instance.