BenchmarkBot commited on
Commit
aed686e
Β·
1 Parent(s): 4bbe7fd

remove share

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -20,7 +20,7 @@ from src.utils import (
20
  process_model_type,
21
  )
22
 
23
- HARDWARES = ["A100-80GB", "RTX4090-24GB"]
24
  HARDWARES_EMOJIS = ["πŸ–₯️", "πŸ’»"]
25
  LLM_PERF_LEADERBOARD_REPO = "optimum/llm-perf-leaderboard"
26
  LLM_PERF_DATASET_REPO = "optimum/llm-perf-dataset"
@@ -233,7 +233,7 @@ with demo:
233
  hardware_tables = {}
234
  hardware_plots = {}
235
  ####################### HARDWARE TABS #######################
236
- for i, (hardware, emoji) in enumerate(zip(HARDWARES, HARDWARES_EMOJIS)):
237
  # dummy placeholder of the hardware name
238
  hardware_placeholders[hardware] = gr.Textbox(value=hardware, visible=False)
239
  with gr.TabItem(f"{hardware} {emoji}", id=i):
@@ -335,7 +335,7 @@ with demo:
335
  value="Filter πŸš€",
336
  elem_id="filter-button",
337
  )
338
- for hardware in HARDWARES:
339
  filter_button.click(
340
  filter_query,
341
  [
@@ -377,4 +377,4 @@ scheduler.add_job(
377
  scheduler.start()
378
 
379
  # Launch demo
380
- demo.queue(concurrency_count=10).launch(share=True)
 
20
  process_model_type,
21
  )
22
 
23
+ HARDWARE_NAMES = ["A100-80GB", "RTX4090-24GB"]
24
  HARDWARES_EMOJIS = ["πŸ–₯️", "πŸ’»"]
25
  LLM_PERF_LEADERBOARD_REPO = "optimum/llm-perf-leaderboard"
26
  LLM_PERF_DATASET_REPO = "optimum/llm-perf-dataset"
 
233
  hardware_tables = {}
234
  hardware_plots = {}
235
  ####################### HARDWARE TABS #######################
236
+ for i, (hardware, emoji) in enumerate(zip(HARDWARE_NAMES, HARDWARES_EMOJIS)):
237
  # dummy placeholder of the hardware name
238
  hardware_placeholders[hardware] = gr.Textbox(value=hardware, visible=False)
239
  with gr.TabItem(f"{hardware} {emoji}", id=i):
 
335
  value="Filter πŸš€",
336
  elem_id="filter-button",
337
  )
338
+ for hardware in HARDWARE_NAMES:
339
  filter_button.click(
340
  filter_query,
341
  [
 
377
  scheduler.start()
378
 
379
  # Launch demo
380
+ demo.queue(concurrency_count=10).launch()