avichr commited on
Commit
88d9acf
·
1 Parent(s): 55dad7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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",