hamedbabaeigiglou commited on
Commit
58a2a09
·
verified ·
1 Parent(s): de59f00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -3
app.py CHANGED
@@ -3,8 +3,26 @@ import pandas as pd
3
 
4
  st.set_page_config(page_title="OntoLearner Benchmark", layout="wide")
5
 
6
- # Load the Excel file
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  df = pd.read_excel("metrics.xlsx")
8
 
9
- # Display as a table
10
- st.dataframe(df, use_container_width=True)
 
3
 
4
  st.set_page_config(page_title="OntoLearner Benchmark", layout="wide")
5
 
6
+ # Force full-width layout
7
+ st.markdown(
8
+ """
9
+ <style>
10
+ .block-container {
11
+ padding-top: 1rem;
12
+ padding-bottom: 1rem;
13
+ padding-left: 1rem;
14
+ padding-right: 1rem;
15
+ }
16
+ .main {
17
+ max-width: 100% !important;
18
+ }
19
+ </style>
20
+ """,
21
+ unsafe_allow_html=True
22
+ )
23
+
24
+ st.title("OntoLearner Benchmark Ontologies Metrics")
25
+
26
  df = pd.read_excel("metrics.xlsx")
27
 
28
+ st.dataframe(df, use_container_width=True)