TODO_YSDA_TEST / app.py
stal76's picture
Update app.py
a5a9530
raw
history blame
396 Bytes
import streamlit as st
st.markdown("### Hello, world!")
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
from transformers import pipeline
def process(title, abstract):
txt = title + ' ' + abstract
return txt
title = st.text_area("Title")
abstract = st.text_area("Abstract")
st.markdown(f"{process(title, abstract)}")