Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
I2C-UHU
/
test-app
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test-app
/
app.py
I2C-UHU
Update app.py
8f12f06
almost 2 years ago
raw
Copy download link
history
blame
contribute
delete
207 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'Seethal/sentiment_analysis_generic_dataset'
)
text = st.text_area(
'Enter some text!'
)
if
text:
out = pipe(text)
st.json(out)