hamedbabaeigiglou's picture
Update app.py
c9cf302 verified
raw
history blame
761 Bytes
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>
.block-container {
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
.main {
max-width: 100% !important;
}
</style>
""",
unsafe_allow_html=True
)
st.title("OntoLearner Benchmark Ontologies Metrics")
df = pd.read_excel("metrics.xlsx")
st.dataframe(df, use_container_width=True)