philippds commited on
Commit
20a0793
β€’
1 Parent(s): 5b0c5d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -210,15 +210,9 @@ with main_block:
210
  with gr.Tab(hivex_env["hivex_env"]) as tab:
211
  for j in range(0, hivex_env["task_count"]):
212
  task = "Task " + str(j + 1)
213
- with gr.TabItem(task):
214
- gr.DataTable(
215
- get_data(
216
- hivex_env["hivex_env"],
217
- "datasets/hivex-leaderboard-data",
218
- ),
219
- elem_id=hivex_env["hivex_env"] + "_" + task,
220
- elem_classes="table",
221
- )
222
  # with gr.Tab("πŸ’Ž Hard Set") as hard_tabs:
223
  # with gr.TabItem(
224
  # "πŸ… Benchmark", elem_id="llm-benchmark-tab-table", id="hard_bench"
 
210
  with gr.Tab(hivex_env["hivex_env"]) as tab:
211
  for j in range(0, hivex_env["task_count"]):
212
  task = "Task " + str(j + 1)
213
+ with gr.Row():
214
+ gr_dataframe = gr.components.Dataframe(value=get_data(rl_env["rl_env"], path_), headers=["User", "Model", "Cumulative Reward"], datatype=["markdown", "markdown", "number"], row_count=(100, 'fixed'))
215
+
 
 
 
 
 
 
216
  # with gr.Tab("πŸ’Ž Hard Set") as hard_tabs:
217
  # with gr.TabItem(
218
  # "πŸ… Benchmark", elem_id="llm-benchmark-tab-table", id="hard_bench"