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