Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
lokraj2
/
sequencer
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4995caa
sequencer
/
app.py
lokraj2
app
9ea550d
almost 2 years ago
raw
Copy download link
history
blame
183 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
"sentiment-analysis"
)
text = st.text_area(
"enter some text "
)
if
text:
out =pipe (text)
st.json (out)