hamedbabaeigiglou's picture
Update app.py
69fbc71 verified
raw
history blame contribute delete
811 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>
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)