strongpear's picture
update app.py
5bc8f15
raw
history blame
212 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline(model='strongpear/Vietnamese-aspect-detection')
text = st.text_area('Enter some text: ')
if text:
out = pipe(text)
st.json(out)