File size: 811 Bytes
b0662c8 c9cf302 b0662c8 3b54515 e45e332 028f2f1 58a2a09 69fbc71 8a681ed 69fbc71 58a2a09 be1edaf 3b54515 58a2a09 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
import os
# Set Streamlit config path to a writable directory
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")
# Force full-width layout
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)
|