Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ os.makedirs(destination_dir,exist_ok=True)
|
|
25 |
# Construct the destination path
|
26 |
#destination_path = hf_hub_url(destination_dir)
|
27 |
# Download the archive to the destination path
|
28 |
-
cached_download(archive_url
|
29 |
# Extract the archive
|
30 |
with zipfile.ZipFile(destination_path, 'r') as zip_ref:
|
31 |
zip_ref.extractall(destination_dir)
|
|
|
25 |
# Construct the destination path
|
26 |
#destination_path = hf_hub_url(destination_dir)
|
27 |
# Download the archive to the destination path
|
28 |
+
cached_download(archive_url)
|
29 |
# Extract the archive
|
30 |
with zipfile.ZipFile(destination_path, 'r') as zip_ref:
|
31 |
zip_ref.extractall(destination_dir)
|