Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -129,12 +129,6 @@ def test(input_json):
|
|
129 |
|
130 |
dfMatrix = dfMatrix_gh
|
131 |
dfLanduses = dfLanduses_gh
|
132 |
-
|
133 |
-
if alpha is None:
|
134 |
-
alpha = alphaDefault
|
135 |
-
|
136 |
-
if threshold is None:
|
137 |
-
threshold = thresholdDefault
|
138 |
|
139 |
if useNotionData != True:
|
140 |
attributeMapperDict = attributeMapperDict_gh
|
@@ -170,13 +164,7 @@ def test(input_json):
|
|
170 |
inputNameAlpha = "alpha",
|
171 |
inputNameThreshold = "threshold"
|
172 |
)
|
173 |
-
|
174 |
-
if alpha is None:
|
175 |
-
alpha = alphaDefault
|
176 |
-
|
177 |
-
if threshold is None:
|
178 |
-
threshold = thresholdDefault
|
179 |
-
|
180 |
dfLanduses = df_lu.copy() # fetch speckl data or not
|
181 |
dfMatrix = df_dm.copy()
|
182 |
|
|
|
129 |
|
130 |
dfMatrix = dfMatrix_gh
|
131 |
dfLanduses = dfLanduses_gh
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
if useNotionData != True:
|
134 |
attributeMapperDict = attributeMapperDict_gh
|
|
|
164 |
inputNameAlpha = "alpha",
|
165 |
inputNameThreshold = "threshold"
|
166 |
)
|
167 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
dfLanduses = df_lu.copy() # fetch speckl data or not
|
169 |
dfMatrix = df_dm.copy()
|
170 |
|