Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,23 @@ def main():
|
|
32 |
)
|
33 |
|
34 |
# Sidebar instructions and link
|
35 |
-
st.sidebar.title("Label
|
36 |
-
|
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")
|