sheonhan commited on
Commit
01233b7
1 Parent(s): 4596a70

rename block to demo

Browse files
Files changed (1) hide show
  1. app.py +3 -17
app.py CHANGED
@@ -312,8 +312,8 @@ custom_css = """
312
  }
313
  """
314
 
315
- block = gr.Blocks(css=custom_css)
316
- with block:
317
  with gr.Row():
318
  gr.Markdown(
319
  f"""
@@ -415,18 +415,4 @@ We chose these benchmarks as they test a variety of reasoning and general knowle
415
  ],
416
  submission_result,
417
  )
418
-
419
-
420
-
421
-
422
- block.load(
423
- refresh,
424
- inputs=[],
425
- outputs=[
426
- leaderboard_table,
427
- finished_eval_table,
428
- running_eval_table,
429
- pending_eval_table,
430
- ],
431
- )
432
- block.launch()
 
312
  }
313
  """
314
 
315
+ demo = gr.Blocks(css=custom_css)
316
+ with demo:
317
  with gr.Row():
318
  gr.Markdown(
319
  f"""
 
415
  ],
416
  submission_result,
417
  )
418
+ demo.launch()