Spaces:
Sleeping
Sleeping
Charles De Dampierre
commited on
Commit
•
5251d02
1
Parent(s):
6498440
add all the global figures
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +7 -1
- app.py +34 -3
- data/immaterial_index/figures_science/results/ancient_rome.png +3 -0
- data/immaterial_index/figures_science/results/china.png +3 -0
- data/immaterial_index/figures_science/results/europe_north_south.png +3 -0
- data/immaterial_index/figures_science/results/france.png +3 -0
- data/immaterial_index/figures_science/results/greek_rome.png +3 -0
- data/immaterial_index/figures_science/results/greek_world.png +3 -0
- data/immaterial_index/figures_science/results/india.png +3 -0
- data/immaterial_index/figures_science/results/india_north_south.png +3 -0
- data/immaterial_index/figures_science/results/italy.png +3 -0
- data/immaterial_index/figures_science/results/japan.png +3 -0
- data/immaterial_index/figures_science/results/japan_north_south.png +3 -0
- data/immaterial_index/figures_science/results/mena.png +3 -0
- data/immaterial_index/figures_science/results/mena_persian_arab.png +3 -0
- data/immaterial_index/figures_science/results/nordic_countries.png +3 -0
- data/immaterial_index/figures_science/results/slavic_world.png +3 -0
- data/immaterial_index/figures_science/results/spain.png +3 -0
- data/immaterial_index/figures_science/results/united_kingdom.png +3 -0
- data/immaterial_index/figures_science/results/western_europe.png +3 -0
- data/immaterial_index/figures_science/results/yangtze.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/arabic.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/china.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/france.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/greek_world.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/india.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/italy.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/japan.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/latin_world.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/arabic.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/china.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/france.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/greek_world.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/india.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/italy.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/japan.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/latin_world.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/persian.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/united_kingdom.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/persian.png +3 -0
- data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/united_kingdom.png +3 -0
- data/immaterial_index/figures_trends_R/greek.png +3 -0
- data/immaterial_index/figures_trends_R/results/ancient_med.png +3 -0
- data/immaterial_index/figures_trends_R/results/byzance.png +3 -0
- data/immaterial_index/figures_trends_R/results/china.png +3 -0
- data/immaterial_index/figures_trends_R/results/china_north_south.png +3 -0
- data/immaterial_index/figures_trends_R/results/europe_north_south.png +3 -0
- data/immaterial_index/figures_trends_R/results/france.png +3 -0
- data/immaterial_index/figures_trends_R/results/greek.png +3 -0
- data/immaterial_index/figures_trends_R/results/greek_enriched.png +3 -0
README.md
CHANGED
@@ -9,4 +9,10 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
|
13 |
+
|
14 |
+
# Tracking Big Files
|
15 |
+
|
16 |
+
```bash
|
17 |
+
git lfs track "*.png"
|
18 |
+
``````
|
app.py
CHANGED
@@ -9,11 +9,42 @@ st.title("Immaterial Index Data Dashboard")
|
|
9 |
|
10 |
# Create a sidebar on the left
|
11 |
st.sidebar.title("Select a Region")
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
selected_region = st.sidebar.selectbox("Region:", regions)
|
14 |
|
15 |
-
# Define image paths for each region
|
16 |
-
image_paths = {"India": "data/results/india.png"}
|
17 |
|
18 |
# Display the selected region's image and information
|
19 |
if selected_region in image_paths:
|
|
|
9 |
|
10 |
# Create a sidebar on the left
|
11 |
st.sidebar.title("Select a Region")
|
12 |
+
|
13 |
+
image_paths = {
|
14 |
+
"Ancient_Med": "data/immaterial_index/figures_trends_R/results/ancient_med.png",
|
15 |
+
"Byzance": "data/immaterial_index/figures_trends_R/results/byzance.png",
|
16 |
+
"China": "data/immaterial_index/figures_trends_R/results/china.png",
|
17 |
+
"China_North_South": "data/immaterial_index/figures_trends_R/results/china_north_south.png",
|
18 |
+
"Europe_North_South": "data/immaterial_index/figures_trends_R/results/europe_north_south.png",
|
19 |
+
"France": "data/immaterial_index/figures_trends_R/results/france.png",
|
20 |
+
"Greek": "data/immaterial_index/figures_trends_R/results/greek.png",
|
21 |
+
"Greek_Enriched": "data/immaterial_index/figures_trends_R/results/greek_enriched.png",
|
22 |
+
"Greek_Italy": "data/immaterial_index/figures_trends_R/results/greek_italy.png",
|
23 |
+
"Greek_World": "data/immaterial_index/figures_trends_R/results/greek_world.png",
|
24 |
+
"India": "data/immaterial_index/figures_trends_R/results/india.png",
|
25 |
+
"India_North_South": "data/immaterial_index/figures_trends_R/results/india_north_south.png",
|
26 |
+
"Italy": "data/immaterial_index/figures_trends_R/results/italy.png",
|
27 |
+
"Italy_Enriched": "data/immaterial_index/figures_trends_R/results/italy_enriched.png",
|
28 |
+
"Japan": "data/immaterial_index/figures_trends_R/results/japan.png",
|
29 |
+
"Japan_North_South": "data/immaterial_index/figures_trends_R/results/japan_north_south.png",
|
30 |
+
"Latin_World": "data/immaterial_index/figures_trends_R/results/latin_world.png",
|
31 |
+
"Low_Countries": "data/immaterial_index/figures_trends_R/results/low_countries.png",
|
32 |
+
"MENA": "data/immaterial_index/figures_trends_R/results/mena.png",
|
33 |
+
"MENA_Persian_Arab": "data/immaterial_index/figures_trends_R/results/mena_persian_arab.png",
|
34 |
+
"Nordic_Countries": "data/immaterial_index/figures_trends_R/results/nordic_countries.png",
|
35 |
+
"Slavic_World": "data/immaterial_index/figures_trends_R/results/slavic_world.png",
|
36 |
+
"Spain": "data/immaterial_index/figures_trends_R/results/spain.png",
|
37 |
+
"United_Kingdom": "data/immaterial_index/figures_trends_R/results/united_kingdom.png",
|
38 |
+
"Western_Europe": "data/immaterial_index/figures_trends_R/results/western_europe.png",
|
39 |
+
"Yangtze": "data/immaterial_index/figures_trends_R/results/yangtze.png",
|
40 |
+
}
|
41 |
+
|
42 |
+
# Get the region names (keys) from the image_paths dictionary
|
43 |
+
regions = list(image_paths.keys())
|
44 |
+
|
45 |
+
# Allow the user to select a region
|
46 |
selected_region = st.sidebar.selectbox("Region:", regions)
|
47 |
|
|
|
|
|
48 |
|
49 |
# Display the selected region's image and information
|
50 |
if selected_region in image_paths:
|
data/immaterial_index/figures_science/results/ancient_rome.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/china.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/europe_north_south.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/france.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/greek_rome.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/greek_world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/india.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/india_north_south.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/italy.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/japan.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/japan_north_south.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/mena.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/mena_persian_arab.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/nordic_countries.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/slavic_world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/spain.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/united_kingdom.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/western_europe.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_science/results/yangtze.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/arabic.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/china.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/france.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/greek_world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/india.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/italy.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/japan.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/latin_world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/arabic.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/china.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/france.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/greek_world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/india.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/italy.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/japan.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/latin_world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/persian.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/per_capita/united_kingdom.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/persian.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/figures_unseen/results_unseen/united_kingdom.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/greek.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/ancient_med.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/byzance.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/china.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/china_north_south.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/europe_north_south.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/france.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/greek.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/greek_enriched.png
ADDED
Git LFS Details
|