Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ os.makedirs(destination_dir, exist_ok=True)
|
|
| 16 |
#archive_file = hf_hub_download(url=archive_url, destination=destination_dir)
|
| 17 |
# Extract the archive
|
| 18 |
archive_file = os.path.join(destination_dir, 'archive.zip')
|
| 19 |
-
cached_download(archive_url
|
| 20 |
extracted_directory = os.path.join(destination_dir, 'find_pic')
|
| 21 |
|
| 22 |
with zipfile.ZipFile(archive_file, 'r') as zip_ref:
|
|
|
|
| 16 |
#archive_file = hf_hub_download(url=archive_url, destination=destination_dir)
|
| 17 |
# Extract the archive
|
| 18 |
archive_file = os.path.join(destination_dir, 'archive.zip')
|
| 19 |
+
cached_download(archive_url)
|
| 20 |
extracted_directory = os.path.join(destination_dir, 'find_pic')
|
| 21 |
|
| 22 |
with zipfile.ZipFile(archive_file, 'r') as zip_ref:
|