Spaces:
Running
on
T4
Running
on
T4
bartman081523
commited on
Commit
·
b00880d
1
Parent(s):
55af7b4
error in "wget -P"
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ CACHE_URLS = [
|
|
| 26 |
]
|
| 27 |
os.makedirs('cache', exist_ok=True)
|
| 28 |
for url in CACHE_URLS:
|
| 29 |
-
print(subprocess.run(['wget',
|
| 30 |
|
| 31 |
import sys
|
| 32 |
sys.path.append('src/blip')
|
|
|
|
| 26 |
]
|
| 27 |
os.makedirs('cache', exist_ok=True)
|
| 28 |
for url in CACHE_URLS:
|
| 29 |
+
print(subprocess.run(['wget', '-c', url, '-P', 'cache'], stdout=subprocess.PIPE).stdout.decode('utf-8'))
|
| 30 |
|
| 31 |
import sys
|
| 32 |
sys.path.append('src/blip')
|