Spaces:
ruimei
/
Runtime error

Eddycrack864 commited on
Commit
11abf64
1 Parent(s): 2aece30

Update webUI.py

Browse files
Files changed (1) hide show
  1. webUI.py +3 -4
webUI.py CHANGED
@@ -265,19 +265,18 @@ import os
265
  import wget
266
 
267
  for category, models in model_dict.items():
268
- if category in ['VR Arc', 'MDX-Net']:
269
  if category == 'VR Arc':
270
  model_path = 'models/VR_Models'
271
  elif category == 'MDX-Net':
272
  model_path = 'models/MDX_Net_Models'
273
-
 
274
  for model_name, model_url in models.items():
275
  cmd = f"aria2c --optimize-concurrent-downloads --console-log-level=error --summary-interval=10 -j5 -x16 -s16 -k1M -c -d {model_path} -Z {model_url}"
276
  os.system(cmd)
277
 
278
  print("Models downloaded successfully.")
279
- else:
280
- print(f"Ignoring category: {category}")
281
 
282
 
283
 
 
265
  import wget
266
 
267
  for category, models in model_dict.items():
268
+ if category in ['VR Arc', 'MDX-Net', 'Demucs']:
269
  if category == 'VR Arc':
270
  model_path = 'models/VR_Models'
271
  elif category == 'MDX-Net':
272
  model_path = 'models/MDX_Net_Models'
273
+ elif category == 'Demucs':
274
+ model_path = 'models/Demucs_Models'
275
  for model_name, model_url in models.items():
276
  cmd = f"aria2c --optimize-concurrent-downloads --console-log-level=error --summary-interval=10 -j5 -x16 -s16 -k1M -c -d {model_path} -Z {model_url}"
277
  os.system(cmd)
278
 
279
  print("Models downloaded successfully.")
 
 
280
 
281
 
282