presidio commited on
Commit
36cfb3a
1 Parent(s): d67f170

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ from transformers_rec import (
20
 
21
 
22
  # Helper methods
23
- @st.cache(ignore_hash=True, allow_output_mutation = True)
24
  def analyzer_engine(model_path: str):
25
  """Return AnalyzerEngine.
26
 
@@ -67,7 +67,7 @@ def analyzer_engine(model_path: str):
67
  return analyzer
68
 
69
 
70
- @st.cache(ignore_hash=True, allow_output_mutation = True)
71
  def anonymizer_engine():
72
  """Return AnonymizerEngine."""
73
  return AnonymizerEngine()
 
20
 
21
 
22
  # Helper methods
23
+ @st.cache(allow_output_mutation = True)
24
  def analyzer_engine(model_path: str):
25
  """Return AnalyzerEngine.
26
 
 
67
  return analyzer
68
 
69
 
70
+ @st.cache(allow_output_mutation = True)
71
  def anonymizer_engine():
72
  """Return AnonymizerEngine."""
73
  return AnonymizerEngine()