File size: 450 Bytes
102b503
 
7c08c44
5441bc5
 
7c08c44
 
 
 
43cf100
 
 
7c08c44
 
43cf100
 
5441bc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()