niyaa's picture
Create app.py
2dd7bee
raw
history blame
181 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)