Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,18 @@ def main():
|
|
32 |
)
|
33 |
|
34 |
# Sidebar instructions and link
|
35 |
-
st.sidebar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
st.sidebar.markdown("<hr style='border: 1px solid gray; margin: 15px 0;'>", unsafe_allow_html=True)
|
37 |
|
38 |
# Load CSV
|
@@ -94,7 +105,7 @@ def main():
|
|
94 |
mime="image/png"
|
95 |
)
|
96 |
|
97 |
-
st.sidebar.write("#### 3. Share your label! [Guidelines]
|
98 |
st.sidebar.markdown("<hr style='border: 1px solid gray; margin: 15px 0;'>", unsafe_allow_html=True)
|
99 |
st.sidebar.write("### Key Links")
|
100 |
st.sidebar.write("- [Leaderboard](https://huggingface.co/spaces/AIEnergyScore/Leaderboard)")
|
|
|
32 |
)
|
33 |
|
34 |
# Sidebar instructions and link
|
35 |
+
st.sidebar.markdown(
|
36 |
+
"""
|
37 |
+
<h1 style="text-align: center; font-size: 24px; font-weight: bold;">
|
38 |
+
Generate a Label to Display your
|
39 |
+
<a href="https://huggingface.co/spaces/AIEnergyScore/Leaderboard" target="_blank" style="text-decoration: none; color: inherit;">
|
40 |
+
AI Energy Score
|
41 |
+
</a>
|
42 |
+
</h1>
|
43 |
+
""",
|
44 |
+
unsafe_allow_html=True,
|
45 |
+
)
|
46 |
+
|
47 |
st.sidebar.markdown("<hr style='border: 1px solid gray; margin: 15px 0;'>", unsafe_allow_html=True)
|
48 |
|
49 |
# Load CSV
|
|
|
105 |
mime="image/png"
|
106 |
)
|
107 |
|
108 |
+
st.sidebar.write("#### 3. Share your label! [Guidelines](https://huggingface.github.io/AIEnergyScore/#labelusage)")
|
109 |
st.sidebar.markdown("<hr style='border: 1px solid gray; margin: 15px 0;'>", unsafe_allow_html=True)
|
110 |
st.sidebar.write("### Key Links")
|
111 |
st.sidebar.write("- [Leaderboard](https://huggingface.co/spaces/AIEnergyScore/Leaderboard)")
|