Spaces:
helios0l
/
Runtime error

r3gm commited on
Commit
6dd7e55
1 Parent(s): 8161bb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 -qq aria2')
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: