Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,8 @@ import streamlit as st
|
|
3 |
|
4 |
# Constants for citation information
|
5 |
CITATION_BUTTON_LABEL = "π Citation"
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
@misc{awesome-leaderboards,
|
10 |
author = {SAIL Research},
|
11 |
title = {Awesome Foundation Model Leaderboards},
|
@@ -38,7 +37,7 @@ class SearchApplication:
|
|
38 |
self.search_button = st.button("π")
|
39 |
|
40 |
st.caption(
|
41 |
-
"You can search for 200+ leaderboards
|
42 |
)
|
43 |
st.write("#")
|
44 |
|
@@ -76,8 +75,9 @@ class SearchApplication:
|
|
76 |
|
77 |
def show_citation_panel(self):
|
78 |
with st.expander(CITATION_BUTTON_LABEL, expanded=True):
|
|
|
79 |
st.code(
|
80 |
-
|
81 |
language="",
|
82 |
)
|
83 |
|
|
|
3 |
|
4 |
# Constants for citation information
|
5 |
CITATION_BUTTON_LABEL = "π Citation"
|
6 |
+
CITATION_NOTE_TEXT = "If you use this resource, please cite it as:"
|
7 |
+
CITATION_BIB_TEXT = """
|
|
|
8 |
@misc{awesome-leaderboards,
|
9 |
author = {SAIL Research},
|
10 |
title = {Awesome Foundation Model Leaderboards},
|
|
|
37 |
self.search_button = st.button("π")
|
38 |
|
39 |
st.caption(
|
40 |
+
"You can search for 200+ leaderboards from the [Awesome Foundation Model Leaderboard](https://github.com/SAILResearch/awesome-foundation-model-leaderboards) list."
|
41 |
)
|
42 |
st.write("#")
|
43 |
|
|
|
75 |
|
76 |
def show_citation_panel(self):
|
77 |
with st.expander(CITATION_BUTTON_LABEL, expanded=True):
|
78 |
+
st.markdown(CITATION_NOTE_TEXT)
|
79 |
st.code(
|
80 |
+
CITATION_BIB_TEXT,
|
81 |
language="",
|
82 |
)
|
83 |
|