Spaces:
Sleeping
Sleeping
Commit
•
2436603
1
Parent(s):
38f4369
Remove All tab
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def load_result(model_id):
|
|
67 |
data = load_data(result_path)
|
68 |
df = to_dataframe(data)
|
69 |
result = [
|
70 |
-
to_vertical(df),
|
71 |
to_vertical(filter_results(df)),
|
72 |
to_vertical(filter_configs(df)),
|
73 |
]
|
@@ -154,15 +154,15 @@ with gr.Blocks(fill_height=True) as demo:
|
|
154 |
|
155 |
results = []
|
156 |
with gr.Row():
|
157 |
-
with gr.Tab("All"):
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
with gr.Tab("Results"):
|
167 |
# results.append(gr.Dataframe(
|
168 |
# label="Results",
|
|
|
67 |
data = load_data(result_path)
|
68 |
df = to_dataframe(data)
|
69 |
result = [
|
70 |
+
# to_vertical(df),
|
71 |
to_vertical(filter_results(df)),
|
72 |
to_vertical(filter_configs(df)),
|
73 |
]
|
|
|
154 |
|
155 |
results = []
|
156 |
with gr.Row():
|
157 |
+
# with gr.Tab("All"):
|
158 |
+
# # results.append(gr.Dataframe(
|
159 |
+
# # label="Results",
|
160 |
+
# # headers=["Parameters", "Model-1", "Model-2"],
|
161 |
+
# # interactive=False,
|
162 |
+
# # column_widths=["30%", "30%", "30%"],
|
163 |
+
# # wrap=True,
|
164 |
+
# # ))
|
165 |
+
# results.append(gr.HTML(value=DEFAULT_HTML_TABLE))
|
166 |
with gr.Tab("Results"):
|
167 |
# results.append(gr.Dataframe(
|
168 |
# label="Results",
|