versae commited on
Commit
ed7a0b5
1 Parent(s): 50be408

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -28,7 +28,7 @@ from src.display.utils import (
28
  )
29
  from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
30
  from src.populate import get_evaluation_queue_df, get_leaderboard_df
31
- from src.submission.submit import add_new_eval, add_new_result
32
 
33
 
34
  def restart_space():
@@ -330,15 +330,15 @@ with demo:
330
  # )
331
 
332
 
333
- with gr.Row():
334
- with gr.Accordion("📙 Citation", open=False):
335
- citation_button = gr.Textbox(
336
- value=CITATION_BUTTON_TEXT,
337
- label=CITATION_BUTTON_LABEL,
338
- lines=20,
339
- elem_id="citation-button",
340
- show_copy_button=True,
341
- )
342
 
343
  scheduler = BackgroundScheduler()
344
  scheduler.add_job(restart_space, "interval", seconds=1800)
 
28
  )
29
  from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
30
  from src.populate import get_evaluation_queue_df, get_leaderboard_df
31
+ from src.submission.submit import add_new_eval
32
 
33
 
34
  def restart_space():
 
330
  # )
331
 
332
 
333
+ # with gr.Row():
334
+ # with gr.Accordion("📙 Citation", open=False):
335
+ # citation_button = gr.Textbox(
336
+ # value=CITATION_BUTTON_TEXT,
337
+ # label=CITATION_BUTTON_LABEL,
338
+ # lines=20,
339
+ # elem_id="citation-button",
340
+ # show_copy_button=True,
341
+ # )
342
 
343
  scheduler = BackgroundScheduler()
344
  scheduler.add_job(restart_space, "interval", seconds=1800)