Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ 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
|
16 |
-
|
17 |
try:
|
18 |
return_code = os.system(shell_script)
|
19 |
if return_code == 0:
|
|
|
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-get -y install aria2')
|
16 |
+
os.system('aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d . -o hubert_base.pt')
|
17 |
try:
|
18 |
return_code = os.system(shell_script)
|
19 |
if return_code == 0:
|