yonatanbitton's picture
Update app.py
9fd5d68
raw
history blame
734 Bytes
import gradio as gr
import pandas as pd
# df = pd.read_table("visit_bench_leaderboard.tsv")
df = pd.read_table('visitbench_leaderboard_Single~Image_Sep132023.tsv')
headline = """# VisIT-Bench Leaderboard
To submit your results to the leaderboard, please add a "predictions" column to [this csv](https://huggingface.co/datasets/mlfoundations/VisIT-Bench/blob/main/visit_bench_single_image.csv), and send to [this mail](mailto:[email protected]).
"""
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()