Spaces:
Sleeping
Sleeping
import gradio as gr | |
import pandas as pd | |
# Load the CSV file into a DataFrame | |
df = pd.read_csv("sorted_results.csv") # Replace with the path to your CSV file | |
# Function to display the DataFrame | |
def display_table(): | |
return df | |
# Gradio Interface | |
with gr.Blocks() as demo: | |
gr.Markdown("# Benchmark Results") | |
gr.DataFrame(value=df, label="Benchmark Table", interactive=False) # Display the DataFrame | |
# Launch the Gradio app | |
demo.launch() |