lorneluo commited on
Commit
218611c
1 Parent(s): 8f14b67

ignore rmtree error

Browse files
Files changed (1) hide show
  1. inst.py +1 -1
inst.py CHANGED
@@ -71,7 +71,7 @@ def run_ensemble_models(audio_path, export_path, format=WAV, clean=True):
71
  print(f'Finished in {datetime.now() - start}')
72
  if clean:
73
  sleep(10)
74
- shutil.rmtree(temp_export_path)
75
  return instrumental_final_path, vocals_final_path
76
 
77
 
 
71
  print(f'Finished in {datetime.now() - start}')
72
  if clean:
73
  sleep(10)
74
+ shutil.rmtree(temp_export_path, ignore_errors=True)
75
  return instrumental_final_path, vocals_final_path
76
 
77