Spaces:
Runtime error
Runtime error
fix parquet path
Browse files- prepare.py +1 -1
prepare.py
CHANGED
@@ -22,7 +22,7 @@ if __name__ == "__main__":
|
|
22 |
cache_file = "dataset_cache.parquet"
|
23 |
if os.path.exists(cache_file):
|
24 |
# Load dataset from cache
|
25 |
-
df = pd.read_parquet(
|
26 |
print("Dataset loaded from cache.")
|
27 |
else:
|
28 |
# Load dataset using datasets.load_dataset()
|
|
|
22 |
cache_file = "dataset_cache.parquet"
|
23 |
if os.path.exists(cache_file):
|
24 |
# Load dataset from cache
|
25 |
+
df = pd.read_parquet(cache_file)
|
26 |
print("Dataset loaded from cache.")
|
27 |
else:
|
28 |
# Load dataset using datasets.load_dataset()
|