sasha HF staff commited on
Commit
40e7d39
·
verified ·
1 Parent(s): 3dc1445

Update app.py

Browse files

adding citation

Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -191,6 +191,21 @@ with demo:
191
  We developed and used a [Docker container](https://github.com/huggingface/EnergyStarAI/) to maximize the reproducibility of results, and to enable members of the community to benchmark internal models.
192
  Reach out to us if you want to collaborate!
193
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  gr.Markdown(
195
  """Last updated: September 20th, 2024 by [Sasha Luccioni](https://huggingface.co/sasha)""")
196
  demo.launch()
 
191
  We developed and used a [Docker container](https://github.com/huggingface/EnergyStarAI/) to maximize the reproducibility of results, and to enable members of the community to benchmark internal models.
192
  Reach out to us if you want to collaborate!
193
  """)
194
+ with gr.Accordion("📙 Citation", open=False):
195
+ citation_button = gr.Textbox(
196
+ r"""@misc{energystarai-leaderboard,
197
+ author = {Sasha Luccioni and Boris Gamazaychikov and Emma Strubell and Sara Hooker and Yacine Jernite and Carole-Jean Wu and Margaret Mitchell},
198
+ title = {Energy Star AI Leaderboard v.0},
199
+ year = {2024},
200
+ publisher = {Hugging Face},
201
+ howpublished = "\url{https://huggingface.co/spaces/EnergyStarAI/2024_Leaderboard}",
202
+ },
203
+ """)
204
+ label=CITATION_BUTTON_LABEL,
205
+ lines=20,
206
+ elem_id="citation-button",
207
+ show_copy_button=True,
208
+ )
209
  gr.Markdown(
210
  """Last updated: September 20th, 2024 by [Sasha Luccioni](https://huggingface.co/sasha)""")
211
  demo.launch()