UlrickBL commited on
Commit
7e92174
·
verified ·
1 Parent(s): f0bba12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,12 +1,21 @@
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/benchmark_overview/benchmark_overview_data.csv")
10
 
11
  # Display DataFrame in a nice format
12
  st.write("### Benchmark Details Table")
 
1
  import streamlit as st
2
  import pandas as pd
3
+ from huggingface_hub import Repository
4
+
5
+ repo = Repository(
6
+ local_dir="benchmark_overview ",
7
+ repo_type="dataset",
8
+ clone_from="UlrickBL/benchmark_overview ",
9
+ token=True
10
+ )
11
+ repo.git_pull()
12
 
13
  # Title and description
14
  st.title("Benchmark Overview")
15
  st.write("This application displays an overview of various benchmarks, their details, and related information in a clean and readable format.")
16
 
17
  # Simulated CSV data (replace this with actual CSV reading if available)
18
+ data = pd.read_csv("benchmark_overview_data.csv")
19
 
20
  # Display DataFrame in a nice format
21
  st.write("### Benchmark Details Table")