Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ hide_streamlit_style = """
|
|
17 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
18 |
|
19 |
|
20 |
-
@st.
|
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 |
|