Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def main():
|
|
| 22 |
polygons_dir = os.path.join(tmpdirname, 'polygons')
|
| 23 |
geojson_files = [f for f in os.listdir(polygons_dir) if f.endswith('.geojson')]
|
| 24 |
|
| 25 |
-
geojson_files = geojson_files[:
|
| 26 |
|
| 27 |
for file in geojson_files:
|
| 28 |
try:
|
|
|
|
| 22 |
polygons_dir = os.path.join(tmpdirname, 'polygons')
|
| 23 |
geojson_files = [f for f in os.listdir(polygons_dir) if f.endswith('.geojson')]
|
| 24 |
|
| 25 |
+
geojson_files = geojson_files[:5]
|
| 26 |
|
| 27 |
for file in geojson_files:
|
| 28 |
try:
|