Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
from transformers import pipeline
|
2 |
import streamlit as st
|
3 |
|
4 |
-
|
|
|
|
|
|
|
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",
|