Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def get_aggregation_period(df):
|
|
60 |
return "30D"
|
61 |
|
62 |
|
63 |
-
@st.
|
64 |
def load_model():
|
65 |
pipe = pipeline(task="sentiment-analysis", model="bhadresh-savani/distilbert-base-uncased-emotion")
|
66 |
return pipe
|
|
|
60 |
return "30D"
|
61 |
|
62 |
|
63 |
+
@st.cache_data
|
64 |
def load_model():
|
65 |
pipe = pipeline(task="sentiment-analysis", model="bhadresh-savani/distilbert-base-uncased-emotion")
|
66 |
return pipe
|