Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Korron
/
music-recommendation
like
0
Runtime error
App
Files
Files
Community
6fbc6f1
music-recommendation
/
app.py
Korron
sent testing
6fbc6f1
4 months ago
raw
Copy download link
history
blame
No virus
182 Bytes
import
steamlit
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)