Harshb11 commited on
Commit
a5a129a
·
verified ·
1 Parent(s): fac42e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ hide_streamlit_style = """
17
  st.markdown(hide_streamlit_style, unsafe_allow_html=True)
18
 
19
 
20
- @st.cache(allow_output_mutation=True)
21
  def load_sentiment_model():
22
  return SentimentAnalysis()
23
 
 
17
  st.markdown(hide_streamlit_style, unsafe_allow_html=True)
18
 
19
 
20
+ @st.cache_resource(allow_output_mutation=True)
21
  def load_sentiment_model():
22
  return SentimentAnalysis()
23