Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Girgis711/demo-app
samyak152002
/
abbreviation-detector
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
143ab03
abbreviation-detector
/
app.py
Girgis711
create
143ab03
over 1 year ago
raw
Copy download link
history
blame
Safe
182 Bytes
import
streamlit
as
st
from
transfomers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
'enter some text:'
)
if
text:
out = pipe(text)
st.json(out)