Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| import intro | |
| import knowledge_extraction | |
| import analysis | |
| import merge | |
| import utils as utl | |
| import download_paper | |
| st.set_page_config( | |
| page_title="IRCDL Conference", | |
| page_icon="📖", | |
| layout="wide", | |
| initial_sidebar_state="expanded", | |
| menu_items={ | |
| 'Get Help': 'https://ircdl2024.dei.unipd.it/', | |
| 'Report a bug': "https://ircdl2024.dei.unipd.it/", | |
| 'About': "# IRCDL Conference: A Two-Decade Bibliometric Journey Through Digital Libraries Research" | |
| } | |
| ) | |
| st.markdown(f'<div class="header"><h1>IRCDL Conference: A Two-Decade Bibliometric Journey Through Digital Libraries Research</h1></div>', unsafe_allow_html=True) | |
| page_names_to_funcs = { | |
| "Welcome": intro.intro, | |
| "Knowledge Extraction": knowledge_extraction.knowledge_extraction, | |
| "Knowledge Enrichment": merge.main, | |
| "Analysis": analysis.main, | |
| "Download": download_paper.main, | |
| } | |
| demo_name = st.sidebar.selectbox("IRCDL Conference: A Two-Decade Bibliometric Journey Through Digital Libraries Research", page_names_to_funcs.keys()) | |
| page_names_to_funcs[demo_name]() | |
| # Loading CSS | |
| utl.local_css("frontend.css") | |
| utl.remote_css('https://fonts.googleapis.com/icon?family=Material+Icons') | |
| utl.remote_css('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&display=swap') | |