Spaces:
Running
Running
Create dashboard.py
Browse files- dashboard.py +19 -0
dashboard.py
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import pandas as pd
|
3 |
+
|
4 |
+
# Title and description
|
5 |
+
st.title("Benchmark Overview")
|
6 |
+
st.write("This application displays an overview of various benchmarks, their details, and related information in a clean and readable format.")
|
7 |
+
|
8 |
+
# Simulated CSV data (replace this with actual CSV reading if available)
|
9 |
+
data = pd.read_csv("https://huggingface.co/spaces/UlrickBL/benchmark_overview/blob/main/Benchmark%20overview%20-%20Feuille%201.csv")
|
10 |
+
|
11 |
+
# Display DataFrame in a nice format
|
12 |
+
st.write("### Benchmark Details Table")
|
13 |
+
st.dataframe(df, use_container_width=True)
|
14 |
+
|
15 |
+
# Optionally add additional details or filters
|
16 |
+
st.write("### Explore Benchmarks")
|
17 |
+
selected_task = st.selectbox("Select an Evaluated Task", options=df["Evaluated task"].unique())
|
18 |
+
filtered_data = df[df["Evaluated task"] == selected_task]
|
19 |
+
st.write(filtered_data)
|