Spaces:
Runtime error
Runtime error
File size: 263 Bytes
75bdb14 |
1 2 3 4 5 6 7 8 9 10 |
import streamlit as st
from transformers import pipeline
pipe = pipeline("text2text-generation", model="bastiango97/resumen_articulos_CNN")
text = st.text_area('Enter the article and I will summirize it for you:')
if text:
out = pipe(text)
st.text(out) |