Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def _sorted_split_key(split: str) -> str:
|
|
99 |
@lru_cache(maxsize=128)
|
100 |
def get_parquet_splits(dataset: str, config: str) -> List[str]:
|
101 |
fs = get_parquet_fs(dataset)
|
102 |
-
return [path for path in fs.ls(config) if fs.isdir(path)]
|
103 |
|
104 |
|
105 |
#####################################################
|
|
|
99 |
@lru_cache(maxsize=128)
|
100 |
def get_parquet_splits(dataset: str, config: str) -> List[str]:
|
101 |
fs = get_parquet_fs(dataset)
|
102 |
+
return [path.split("/")[1] for path in fs.ls(config) if fs.isdir(path)]
|
103 |
|
104 |
|
105 |
#####################################################
|