xinchen9 commited on
Commit
13c64e8
·
verified ·
1 Parent(s): d15ea2f

[Update] Add contributors

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -11,6 +11,8 @@ from src.about import (
11
  INTRODUCTION_TEXT,
12
  LLM_BENCHMARKS_TEXT,
13
  TITLE,
 
 
14
  )
15
  from src.display.css_html_js import custom_css
16
  from src.display.utils import (
@@ -398,7 +400,15 @@ with demo:
398
  )
399
 
400
 
401
-
 
 
 
 
 
 
 
 
402
 
403
 
404
 
@@ -411,6 +421,8 @@ with demo:
411
  elem_id="citation-button",
412
  show_copy_button=True,
413
  )
 
 
414
 
415
  scheduler = BackgroundScheduler()
416
  scheduler.add_job(restart_space, "interval", seconds=1800)
 
11
  INTRODUCTION_TEXT,
12
  LLM_BENCHMARKS_TEXT,
13
  TITLE,
14
+ CONTRIBUTOR_BUTTON_LABEL,
15
+ CONTRIBUTOR_BUTTON_TEXT,
16
  )
17
  from src.display.css_html_js import custom_css
18
  from src.display.utils import (
 
400
  )
401
 
402
 
403
+ with gr.Row():
404
+ with gr.Accordion("Contributors", open=True):
405
+ citation_button = gr.Textbox(
406
+ value=CONTRIBUTOR_BUTTON_TEXT,
407
+ label=CONTRIBUTOR_BUTTON_LABEL,
408
+ lines=10,
409
+ elem_id="contributor-button",
410
+ show_copy_button=True,
411
+ )
412
 
413
 
414
 
 
421
  elem_id="citation-button",
422
  show_copy_button=True,
423
  )
424
+
425
+
426
 
427
  scheduler = BackgroundScheduler()
428
  scheduler.add_job(restart_space, "interval", seconds=1800)