ignore rmtree error
Browse files
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 |
|