Spaces:
Sleeping
Sleeping
Changed cache_dir to use mkdir not makedirs
Browse files- app/app.py +1 -1
app/app.py
CHANGED
@@ -28,7 +28,7 @@ server = app.server
|
|
28 |
df = pd.read_csv(constants.DATA_FILE_PATH, index_col=constants.INDEX_COLS)
|
29 |
|
30 |
cache_dir = os.path.join(os.path.dirname(__file__), "../cache_dir")
|
31 |
-
os.
|
32 |
regionmask.set_options(cache_dir=cache_dir)
|
33 |
countries_df = regionmask.defined_regions.natural_earth_v5_0_0.countries_110.to_dataframe()
|
34 |
|
|
|
28 |
df = pd.read_csv(constants.DATA_FILE_PATH, index_col=constants.INDEX_COLS)
|
29 |
|
30 |
cache_dir = os.path.join(os.path.dirname(__file__), "../cache_dir")
|
31 |
+
os.mkdir(cache_dir)
|
32 |
regionmask.set_options(cache_dir=cache_dir)
|
33 |
countries_df = regionmask.defined_regions.natural_earth_v5_0_0.countries_110.to_dataframe()
|
34 |
|