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

fix depreciated function from st.cache to

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(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_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.