Spaces:
Sleeping
Sleeping
Upload start.sh with huggingface_hub
Browse files
start.sh
CHANGED
|
@@ -13,8 +13,6 @@ for f in files:
|
|
| 13 |
local_path = f'/app/data/{f.path}'
|
| 14 |
os.makedirs(os.path.dirname(local_path), exist_ok=True)
|
| 15 |
download_list.append((f.path, local_path))
|
| 16 |
-
elif f.path == 'hf-space/main.py':
|
| 17 |
-
download_list.append((f.path, '/app/main.py'))
|
| 18 |
|
| 19 |
print(f'Downloading {len(download_list)} files...')
|
| 20 |
download_bucket_files(BUCKET, files=download_list)
|
|
|
|
| 13 |
local_path = f'/app/data/{f.path}'
|
| 14 |
os.makedirs(os.path.dirname(local_path), exist_ok=True)
|
| 15 |
download_list.append((f.path, local_path))
|
|
|
|
|
|
|
| 16 |
|
| 17 |
print(f'Downloading {len(download_list)} files...')
|
| 18 |
download_bucket_files(BUCKET, files=download_list)
|