Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
214 |
-
gr.
|
215 |
-
|
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"
|