avichr commited on
Commit
e551ca5
1 Parent(s): 88d9acf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,7 +1,10 @@
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",
 
1
  from transformers import pipeline
2
  import streamlit as st
3
 
4
+ x = st.slider("Select a value")
5
+ st.write(x, "squared is", x * x)
6
+
7
+ #@st.cache
8
  sentiment = pipeline(
9
  "sentiment-analysis",
10
  model="avichr/heBERT_sentiment_analysis",