Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def get_aggregation_period(df):
57
  return "30D"
58
 
59
 
60
- @st.cache(allow_output_mutation=True)
61
  def load_model():
62
  pipe = pipeline(task="sentiment-analysis", model="bhadresh-savani/distilbert-base-uncased-emotion")
63
  return pipe
 
57
  return "30D"
58
 
59
 
60
+ @st.cache_data(allow_output_mutation=True)
61
  def load_model():
62
  pipe = pipeline(task="sentiment-analysis", model="bhadresh-savani/distilbert-base-uncased-emotion")
63
  return pipe