|
import os |
|
|
|
|
|
os.environ["STREAMLIT_CONFIG_DIR"] = os.path.join(os.getcwd(), ".streamlit") |
|
os.makedirs(os.environ["STREAMLIT_CONFIG_DIR"], exist_ok=True) |
|
|
|
|
|
import streamlit as st |
|
import pandas as pd |
|
|
|
st.set_page_config(page_title="OntoLearner Benchmark", layout="wide") |
|
|
|
|
|
st.markdown( |
|
""" |
|
<style> |
|
html, body, .main { |
|
height: 100%; |
|
width: 100%; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
|
.block-container { |
|
padding: 1rem; |
|
margin: 0; |
|
height: 100%; |
|
width: 100%; |
|
} |
|
</style> |
|
""", |
|
unsafe_allow_html=True |
|
) |
|
|
|
st.title("OntoLearner Benchmark Ontologies Metrics") |
|
|
|
df = pd.read_excel("metrics.xlsx") |
|
|
|
st.dataframe(df, use_container_width=True) |
|
|