Spaces:
Runtime error
Runtime error
removed created file for permission reasons
Browse files
utils.py
CHANGED
@@ -26,7 +26,7 @@ def unzip_file(zip_path: str, extract_to: Optional[str] = None) -> None:
|
|
26 |
extract_to = os.path.dirname(zip_path)
|
27 |
|
28 |
# Ensure the extraction directory exists
|
29 |
-
os.makedirs(extract_to, exist_ok=True)
|
30 |
|
31 |
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|
32 |
zip_ref.extractall(extract_to)
|
|
|
26 |
extract_to = os.path.dirname(zip_path)
|
27 |
|
28 |
# Ensure the extraction directory exists
|
29 |
+
# os.makedirs(extract_to, exist_ok=True)
|
30 |
|
31 |
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|
32 |
zip_ref.extractall(extract_to)
|