File size: 538 Bytes
b8769be
 
 
 
26fd4ec
 
d52f486
 
 
5e4fa04
f6a020d
5e4fa04
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)