Spaces:
Running
Running
Teo Wu
commited on
Commit
·
396bb92
1
Parent(s):
9bd1eb1
app.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import pandas as pd
|
| 3 |
+
block = gr.Blocks(title="LongVideoBench Leaderboard")
|
| 4 |
+
|
| 5 |
+
with block:
|
| 6 |
+
#gr.Markdown(
|
| 7 |
+
# LEADERBORAD_INTRODUCTION
|
| 8 |
+
#)
|
| 9 |
+
with gr.Tab("Results"):
|
| 10 |
+
data = pd.read_csv("result.csv")
|
| 11 |
+
df_sorted = data.sort_values(by='Test Total', ascending=False)
|
| 12 |
+
|
| 13 |
+
gr.DataFrame(df_sorted)
|
| 14 |
+
with gr.Tab("Submit to LongVideoBench (coming soon!)"):
|
| 15 |
+
gr.Markdown(
|
| 16 |
+
"To submit to LongVideoBench, please contact haoning001@e.ntu.edu.sg now. We will launch an automatic submission server soon."
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
block.launch()
|