Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,9 @@ os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
|
|
10 |
# Download models
|
11 |
shell_script = './tools/dlmodels.sh'
|
12 |
os.system(f'chmod +x {shell_script}')
|
|
|
|
|
|
|
13 |
|
14 |
try:
|
15 |
return_code = os.system(shell_script)
|
|
|
10 |
# Download models
|
11 |
shell_script = './tools/dlmodels.sh'
|
12 |
os.system(f'chmod +x {shell_script}')
|
13 |
+
os.system('apt install git-lfs')
|
14 |
+
os.system('git lfs install')
|
15 |
+
os.system('apt -y install -qq aria2')
|
16 |
|
17 |
try:
|
18 |
return_code = os.system(shell_script)
|