Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Daniela-C
/
VirtualBookReader
like
0
Build error
App
Files
Files
Fetching metadata from the HF Docker repository...
main
VirtualBookReader
/
app.py
Daniela-C
Update app.py
d4cc1f1
verified
almost 2 years ago
raw
Copy download link
history
blame
Safe
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)