ToughStone
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -97,6 +97,17 @@ with demo:
|
|
97 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
98 |
with gr.TabItem("🏅 ContextualBenchmark", elem_id="llm-benchmark-tab-table", id=0):
|
99 |
# leaderboard = init_leaderboard(LEADERBOARD_DF)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
df_ii = pd.read_table("image_identification.tsv")
|
101 |
with gr.Blocks():
|
102 |
with gr.Row():
|
|
|
97 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
98 |
with gr.TabItem("🏅 ContextualBenchmark", elem_id="llm-benchmark-tab-table", id=0):
|
99 |
# leaderboard = init_leaderboard(LEADERBOARD_DF)
|
100 |
+
df_ic = pd.read_table("caption_vqa.tsv")
|
101 |
+
with gr.Blocks():
|
102 |
+
with gr.Row():
|
103 |
+
gr.Markdown("""# Image caption (Bleu-4, Rougr-L, Cider)& VQA (WUPS)
|
104 |
+
""")
|
105 |
+
with gr.Column():
|
106 |
+
leaderboard_df = gr.components.DataFrame(
|
107 |
+
value=df_ii,
|
108 |
+
datatype=["markdown", "number", "number", "number", "number", "number"]
|
109 |
+
)
|
110 |
+
|
111 |
df_ii = pd.read_table("image_identification.tsv")
|
112 |
with gr.Blocks():
|
113 |
with gr.Row():
|