test1 / app.py
Intradiction's picture
Create app.py
dfcf46b
raw
history blame
228 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline(model="Intradiction/finetuning-sentiment-model-3000-samples")
text = st.text_area('Input a movie review:')
if text:
out = pipe(text)
st.json(out)