Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
leavoigt/vulnerability
mtyrrell
/
vulnerability_2_1
like
1
Running
App
Files
Files
Community
1
988eebe
vulnerability_2_1
/
app.py
leavoigt
Update app.py
ecc8799
over 1 year ago
raw
Copy download link
history
blame
Safe
205 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
'enter your text here'
)
x = st.slider(
'Select a value'
)
st.write(x,
'squared is'
, x * x)