Spaces:
Sleeping
Sleeping
edit app file paths
Browse files
app.py
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
import streamlit as st
|
2 |
import json
|
3 |
|
4 |
-
with open("
|
5 |
d = json.load(f)
|
6 |
#print(d)
|
7 |
|
8 |
-
with open("
|
9 |
routranges = json.load(f)
|
10 |
import pandas as pd
|
11 |
|
12 |
|
13 |
-
maxdfEN = pd.read_csv("
|
14 |
-
mindfEN = pd.read_csv("
|
15 |
# Define options for the dropdown list
|
16 |
|
17 |
maxdictEN = maxdfEN.to_dict("records")
|
@@ -22,8 +22,8 @@ minrangesEN = {i["criteria"]:i["value"] for i in mindictEN}
|
|
22 |
|
23 |
|
24 |
|
25 |
-
maxdfEC = pd.read_csv("
|
26 |
-
mindfEC = pd.read_csv("
|
27 |
# Define options for the dropdown list
|
28 |
|
29 |
maxdictEC = maxdfEC.to_dict("records")
|
@@ -35,8 +35,8 @@ minrangesEC = {i["criteria"]:i["value"] for i in mindictEC}
|
|
35 |
|
36 |
|
37 |
|
38 |
-
maxdfSO = pd.read_csv("
|
39 |
-
mindfSO = pd.read_csv("
|
40 |
# Define options for the dropdown list
|
41 |
|
42 |
maxdictSO = maxdfSO.to_dict("records")
|
@@ -49,8 +49,8 @@ minrangesSO = {i["criteria"]:i["value"] for i in mindictSO}
|
|
49 |
|
50 |
|
51 |
|
52 |
-
maxdfTR = pd.read_csv("
|
53 |
-
mindfTR = pd.read_csv("
|
54 |
# Define options for the dropdown list
|
55 |
|
56 |
maxdictTR = maxdfTR.to_dict("records")
|
|
|
1 |
import streamlit as st
|
2 |
import json
|
3 |
|
4 |
+
with open("newdictwithmids_v2.json","r") as f:
|
5 |
d = json.load(f)
|
6 |
#print(d)
|
7 |
|
8 |
+
with open("routranges_v4.json","r") as f:
|
9 |
routranges = json.load(f)
|
10 |
import pandas as pd
|
11 |
|
12 |
|
13 |
+
maxdfEN = pd.read_csv("sheet0_agg_max.csv", header=0)
|
14 |
+
mindfEN = pd.read_csv("sheet0_agg_min.csv", header=0)
|
15 |
# Define options for the dropdown list
|
16 |
|
17 |
maxdictEN = maxdfEN.to_dict("records")
|
|
|
22 |
|
23 |
|
24 |
|
25 |
+
maxdfEC = pd.read_csv("sheet1_agg_max.csv", header=0)
|
26 |
+
mindfEC = pd.read_csv("sheet1_agg_min.csv", header=0)
|
27 |
# Define options for the dropdown list
|
28 |
|
29 |
maxdictEC = maxdfEC.to_dict("records")
|
|
|
35 |
|
36 |
|
37 |
|
38 |
+
maxdfSO = pd.read_csv("sheet2_agg_max.csv", header=0)
|
39 |
+
mindfSO = pd.read_csv("sheet2_agg_min.csv", header=0)
|
40 |
# Define options for the dropdown list
|
41 |
|
42 |
maxdictSO = maxdfSO.to_dict("records")
|
|
|
49 |
|
50 |
|
51 |
|
52 |
+
maxdfTR = pd.read_csv("sheet3_agg_max.csv", header=0)
|
53 |
+
mindfTR = pd.read_csv("sheet3_agg_min.csv", header=0)
|
54 |
# Define options for the dropdown list
|
55 |
|
56 |
maxdictTR = maxdfTR.to_dict("records")
|