zhiminy commited on
Commit
a04589c
Β·
verified Β·
1 Parent(s): 17424df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -3,9 +3,8 @@ import streamlit as st
3
 
4
  # Constants for citation information
5
  CITATION_BUTTON_LABEL = "πŸ“™ Citation"
6
- CITATION_BUTTON_TEXT = """
7
- If you use this resource, please cite it as:
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 & toolkits from the [Awesome Foundation Model Leaderboard](https://github.com/SAILResearch/awesome-foundation-model-leaderboards) list."
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
- CITATION_BUTTON_TEXT,
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