Spaces:
Sleeping
Sleeping
Charles De Dampierre
commited on
Commit
•
6498440
1
Parent(s):
9da0eca
add files xith git lfs
Browse files- .gitattributes +1 -0
- Makefile +2 -0
- app.py +25 -3
- data/results/ancient_med.png +3 -0
- data/results/byzance.png +3 -0
- data/results/china.png +3 -0
- data/results/china_north_south.png +3 -0
- data/results/europe_north_south.png +3 -0
- data/results/france.png +3 -0
- data/results/greek.png +3 -0
- data/results/greek_enriched.png +3 -0
- data/results/greek_italy.png +3 -0
- data/results/greek_world.png +3 -0
- data/results/india.png +3 -0
- data/results/india_north_south.png +3 -0
- data/results/italy.png +3 -0
- data/results/italy_enriched.png +3 -0
- data/results/japan.png +3 -0
- data/results/japan_north_south.png +3 -0
- data/results/latin_world.png +3 -0
- data/results/low_countries.png +3 -0
- data/results/mena.png +3 -0
- data/results/mena_persian_arab.png +3 -0
- data/results/nordic_countries.png +3 -0
- data/results/slavic_world.png +3 -0
- data/results/spain.png +3 -0
- data/results/united_kingdom.png +3 -0
- data/results/western_europe.png +3 -0
- data/results/yangtze.png +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
Makefile
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
run:
|
2 |
+
streamlit run app.py
|
app.py
CHANGED
@@ -1,5 +1,27 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
|
4 |
-
st.
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
from PIL import Image
|
3 |
|
4 |
+
# Set the layout to wide mode
|
5 |
+
# st.set_page_config(layout="wide")
|
6 |
+
|
7 |
+
# Title and description
|
8 |
+
st.title("Immaterial Index Data Dashboard")
|
9 |
+
|
10 |
+
# Create a sidebar on the left
|
11 |
+
st.sidebar.title("Select a Region")
|
12 |
+
regions = ["India", "United States", "Europe", "Asia", "Africa"]
|
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:
|
20 |
+
image = Image.open(image_paths[selected_region])
|
21 |
+
st.image(image, caption=f"{selected_region} Overview", use_column_width=True)
|
22 |
+
# Add more information or charts specific to the selected region here
|
23 |
+
else:
|
24 |
+
st.write("Please select a region from the sidebar on the left.")
|
25 |
+
|
26 |
+
# You can add more content and visualizations for the selected region below
|
27 |
+
# For example, charts, statistics, and other relevant data
|
data/results/ancient_med.png
ADDED
Git LFS Details
|
data/results/byzance.png
ADDED
Git LFS Details
|
data/results/china.png
ADDED
Git LFS Details
|
data/results/china_north_south.png
ADDED
Git LFS Details
|
data/results/europe_north_south.png
ADDED
Git LFS Details
|
data/results/france.png
ADDED
Git LFS Details
|
data/results/greek.png
ADDED
Git LFS Details
|
data/results/greek_enriched.png
ADDED
Git LFS Details
|
data/results/greek_italy.png
ADDED
Git LFS Details
|
data/results/greek_world.png
ADDED
Git LFS Details
|
data/results/india.png
ADDED
Git LFS Details
|
data/results/india_north_south.png
ADDED
Git LFS Details
|
data/results/italy.png
ADDED
Git LFS Details
|
data/results/italy_enriched.png
ADDED
Git LFS Details
|
data/results/japan.png
ADDED
Git LFS Details
|
data/results/japan_north_south.png
ADDED
Git LFS Details
|
data/results/latin_world.png
ADDED
Git LFS Details
|
data/results/low_countries.png
ADDED
Git LFS Details
|
data/results/mena.png
ADDED
Git LFS Details
|
data/results/mena_persian_arab.png
ADDED
Git LFS Details
|
data/results/nordic_countries.png
ADDED
Git LFS Details
|
data/results/slavic_world.png
ADDED
Git LFS Details
|
data/results/spain.png
ADDED
Git LFS Details
|
data/results/united_kingdom.png
ADDED
Git LFS Details
|
data/results/western_europe.png
ADDED
Git LFS Details
|
data/results/yangtze.png
ADDED
Git LFS Details
|