nitzanguetta
Add new leaderboard
969a984
raw
history blame
710 Bytes
import gradio as gr
import pandas as pd
df = pd.read_table("wWHOOPS-Leaderboard-Full.tsv")
headline = """# WHOOPS! Leaderboard Full
To submit your results to the leaderboard, please add a "predictions" column to [this csv](https://huggingface.co./datasets/nlphuji/whoops/blob/main/whoops_dataset.csv), and send to [this mail](mailto:[email protected]) or [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", "number", "number", "number", "number", "number", "number"]
)
demo.launch()