Pavel Malov
Add simple template
d2af509
raw
history blame
712 Bytes
import streamlit as st
st.set_page_config(layout="wide")
st.markdown("""
<style>
.big-font {
font-size:300px !important;
}
</style>
""", unsafe_allow_html=True)
st.title("ArxivTitlePicker")
st.write("This app helps define category of your scientific paper based on its name and abstract.")
name = st.text_input("Paste here name of your paper")
abstract = st.text_area("Paste here abstract of your paper")
if name != '':
st.text("Your paper:\nName: " + name + '.\nAbstract: ' + abstract)
if st.button("Start processing"):
if name == '':
st.write('<p style="font-family:sans-serif; color:Red; font-size: 21px;">Please, provide name of the paper!πŸ™‡β€β™‚οΈ</p>', unsafe_allow_html=True)