|
import gradio as gr |
|
import pandas as pd |
|
|
|
|
|
df = pd.read_table('visitbench_leaderboard_Single~Image_Nov072023.tsv') |
|
|
|
headline = """# FuseReviews Leaderboard |
|
|
|
When submitting your results to the leaderboard, please make sure it is in a csv file with a single column "predictions". Make sure the predictions align to the testset order. Please send your predictions to [this mail](mailto:lovodkin93@gmail.com). |
|
Please include in your email 1) a name for your model, 2) your team name (including your affiliation), and optionally, 3) a github repo or paper link. |
|
""" |
|
demo = gr.Blocks() |
|
with demo: |
|
with gr.Row(): |
|
gr.Markdown(headline) |
|
|
|
with gr.Column(): |
|
leaderboard_df = gr.components.DataFrame( |
|
value=df, |
|
datatype=["markdown", "markdown", "number", "number", "number"] |
|
) |
|
|
|
demo.launch() |
|
|