Spaces:
Running
Running
import gradio as gr | |
import pandas as pd | |
# Load the CSV data into a pandas DataFrame | |
df = pd.read_csv( | |
"https://raw.githubusercontent.com/autogluon/fev/refs/heads/main/benchmarks/chronos_zeroshot/results/seasonal_naive.csv" | |
) | |
markdown_text = """ | |
Hello world | |
""" | |
with gr.Blocks() as demo: | |
with gr.Tab("Leaderboard"): | |
gr.Markdown("## Leaderboard") | |
gr.Dataframe( | |
value=df, | |
interactive=True, | |
row_count=len(df), | |
col_count=len(df.columns), | |
) | |
with gr.Tab("About"): | |
gr.Markdown(markdown_text) | |
if __name__ == "__main__": | |
demo.launch() | |