ki33elev's picture
Update app.py
f6a020d
raw
history blame
538 Bytes
import streamlit as st
@st.cache(suppress_st_warning=True)
def load_data():
return
st.title("Arxiv articles classification")
st.markdown("This is an interface that can determine the article's topic based on its title and summary. Though it can work with title only, it is recommended that you provide summary if possible - this will result in a better prediction quality.")
title = st.text_area(label='Title', height=100)
summary = st.text_area(label='Summary (optional)', height=250)
text = title + "\n" + summary
st.markdown(text)