cdminix commited on
Commit
ca5e049
1 Parent(s): 4ad5c43

add citation

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from ttsds.benchmarks.benchmark import BenchmarkCategory
10
  from ttsds import BenchmarkSuite
11
 
12
  from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN, TAGS
13
- from src.texts import LLM_BENCHMARKS_TEXT, EVALUATION_QUEUE_TEXT
14
  from src.css_html_js import custom_css
15
 
16
 
@@ -264,6 +264,10 @@ with app:
264
  submission_result,
265
  )
266
 
 
 
 
 
267
  scheduler = BackgroundScheduler()
268
  scheduler.add_job(restart_space, "interval", seconds=1800)
269
  scheduler.start()
 
10
  from ttsds import BenchmarkSuite
11
 
12
  from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN, TAGS
13
+ from src.texts import LLM_BENCHMARKS_TEXT, EVALUATION_QUEUE_TEXT, CITATION_TEXT
14
  from src.css_html_js import custom_css
15
 
16
 
 
264
  submission_result,
265
  )
266
 
267
+ with gr.Row():
268
+ with gr.Accordion("Citation", open=False):
269
+ gr.Markdown(f"Copy the BibTeX citation to cite this source:\n\n```bibtext\n{CITATION_TEXT}\n```")
270
+
271
  scheduler = BackgroundScheduler()
272
  scheduler.add_job(restart_space, "interval", seconds=1800)
273
  scheduler.start()