xinchen9 commited on
Commit
29980fd
·
verified ·
1 Parent(s): 9772c4d

[Update]Add citation

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -357,15 +357,15 @@ with demo:
357
  # submission_result,
358
  # )
359
 
360
- # with gr.Row():
361
- # with gr.Accordion("📙 Citation", open=False):
362
- # citation_button = gr.Textbox(
363
- # value=CITATION_BUTTON_TEXT,
364
- # label=CITATION_BUTTON_LABEL,
365
- # lines=10,
366
- # elem_id="citation-button",
367
- # show_copy_button=True,
368
- # )
369
 
370
  scheduler = BackgroundScheduler()
371
  scheduler.add_job(restart_space, "interval", seconds=1800)
 
357
  # submission_result,
358
  # )
359
 
360
+ with gr.Row():
361
+ with gr.Accordion("📙 Citation", open=True):
362
+ citation_button = gr.Textbox(
363
+ value=CITATION_BUTTON_TEXT,
364
+ label=CITATION_BUTTON_LABEL,
365
+ lines=10,
366
+ elem_id="citation-button",
367
+ show_copy_button=True,
368
+ )
369
 
370
  scheduler = BackgroundScheduler()
371
  scheduler.add_job(restart_space, "interval", seconds=1800)