Spaces:
Runtime error
Runtime error
- src/webui.py +1 -0
src/webui.py
CHANGED
@@ -71,6 +71,7 @@ def cleanup_temp_model(model_name):
|
|
71 |
temp_dir = os.path.join(rvc_models_dir, model_name)
|
72 |
try:
|
73 |
shutil.rmtree(temp_dir)
|
|
|
74 |
except Exception as e:
|
75 |
print(f"Error cleaning up temporary model files: {str(e)}")
|
76 |
|
|
|
71 |
temp_dir = os.path.join(rvc_models_dir, model_name)
|
72 |
try:
|
73 |
shutil.rmtree(temp_dir)
|
74 |
+
print(f"[+] Temporary model files cleaned up: {temp_dir}")
|
75 |
except Exception as e:
|
76 |
print(f"Error cleaning up temporary model files: {str(e)}")
|
77 |
|