Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
niyaa
/
Sovrenn_Market_Sentiment
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
cdda580
Sovrenn_Market_Sentiment
/
app.py
niyaa
Update app.py
cdda580
almost 2 years ago
raw
Copy download link
history
blame
Safe
182 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
"Market_sentiment"
)
text = st.text_area(
"Enter some text"
)
if
text:
out = pipe(text)
st.json(out)