Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
|
|
4 |
sentiment = pipeline(
|
5 |
"sentiment-analysis",
|
6 |
model="avichr/heBERT_sentiment_analysis",
|
|
|
1 |
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
4 |
+
@st.cache
|
5 |
sentiment = pipeline(
|
6 |
"sentiment-analysis",
|
7 |
model="avichr/heBERT_sentiment_analysis",
|