update results
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ from init import is_model_on_hub, upload_file, load_all_info_from_dataset_hub
|
|
6 |
from utils_display import AutoEvalColumn, fields, make_clickable_model, styled_error, styled_message
|
7 |
from datetime import datetime, timezone
|
8 |
|
|
|
|
|
9 |
column_names = {"AP-IoU=0.50:0.95-area=all-maxDets=100": "AP",
|
10 |
"AP-IoU=0.50-area=all-maxDets=100": "AP@.50",
|
11 |
"AP-IoU=0.75-area=all-maxDets=100": "AP@.75",
|
@@ -101,7 +103,7 @@ def request_model(model_text, chbcoco2017):
|
|
101 |
with gr.Blocks() as demo:
|
102 |
gr.HTML(BANNER, elem_id="banner")
|
103 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
104 |
-
|
105 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
106 |
with gr.TabItem("π
COCO val 2017", elem_id="od-benchmark-tab-table", id=0):
|
107 |
leaderboard_table = gr.components.Dataframe(
|
@@ -131,6 +133,8 @@ with gr.Blocks() as demo:
|
|
131 |
[model_name_textbox, chb_coco2017],
|
132 |
mdw_submission_result)
|
133 |
|
|
|
|
|
134 |
with gr.Row():
|
135 |
with gr.Accordion("π Citation", open=False):
|
136 |
gr.Textbox(
|
@@ -139,4 +143,4 @@ with gr.Blocks() as demo:
|
|
139 |
elem_id="citation-button",
|
140 |
).style(show_copy_button=True)
|
141 |
|
142 |
-
demo.launch(
|
|
|
6 |
from utils_display import AutoEvalColumn, fields, make_clickable_model, styled_error, styled_message
|
7 |
from datetime import datetime, timezone
|
8 |
|
9 |
+
LAST_UPDATED = "Aug 13th 2023"
|
10 |
+
|
11 |
column_names = {"AP-IoU=0.50:0.95-area=all-maxDets=100": "AP",
|
12 |
"AP-IoU=0.50-area=all-maxDets=100": "AP@.50",
|
13 |
"AP-IoU=0.75-area=all-maxDets=100": "AP@.75",
|
|
|
103 |
with gr.Blocks() as demo:
|
104 |
gr.HTML(BANNER, elem_id="banner")
|
105 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
106 |
+
|
107 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
108 |
with gr.TabItem("π
COCO val 2017", elem_id="od-benchmark-tab-table", id=0):
|
109 |
leaderboard_table = gr.components.Dataframe(
|
|
|
133 |
[model_name_textbox, chb_coco2017],
|
134 |
mdw_submission_result)
|
135 |
|
136 |
+
gr.Markdown(f"Last updated on **{LAST_UPDATED}**", elem_classes="markdown-text")
|
137 |
+
|
138 |
with gr.Row():
|
139 |
with gr.Accordion("π Citation", open=False):
|
140 |
gr.Textbox(
|
|
|
143 |
elem_id="citation-button",
|
144 |
).style(show_copy_button=True)
|
145 |
|
146 |
+
demo.launch()
|