bgamazay commited on
Commit
c0b44bd
·
verified ·
1 Parent(s): 2dab0f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -3
app.py CHANGED
@@ -32,9 +32,23 @@ def main():
32
  )
33
 
34
  # Sidebar instructions and link
35
- st.sidebar.title("Label Generator")
36
- st.sidebar.markdown("For [AI Energy Score Leaderboard](https://huggingface.co/spaces/AIEnergyScore/Leaderboard)")
37
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  # Load CSV
39
  try:
40
  data_df = pd.read_csv("data.csv")
 
32
  )
33
 
34
  # Sidebar instructions and link
35
+ st.sidebar.title("Generate a Label to Display your [AI Energy Score](https://huggingface.co/spaces/AIEnergyScore/Leaderboard) ")
36
+ # Add a vertical line inside the sidebar
37
+ st.markdown(
38
+ """
39
+ <style>
40
+ .sidebar-divider {
41
+ border-left: 2px solid gray;
42
+ height: 100vh;
43
+ position: absolute;
44
+ left: 100%;
45
+ top: 0;
46
+ }
47
+ </style>
48
+ <div class="sidebar-divider"></div>
49
+ """,
50
+ unsafe_allow_html=True
51
+ )
52
  # Load CSV
53
  try:
54
  data_df = pd.read_csv("data.csv")