Spaces:
Running
Running
tripleS-Dev
commited on
Commit
•
eb6093b
1
Parent(s):
f553ae4
update V1.3.3L Beta
Browse files-Add OMA2
-Remove rounded option
-code optimization and performance improvement
- preset_fn.py +1 -0
preset_fn.py
CHANGED
@@ -111,6 +111,7 @@ import os
|
|
111 |
|
112 |
|
113 |
def unzip_file_to_directory(zip_file_path):
|
|
|
114 |
output_directory = '/data/presets/'
|
115 |
# Ensure the output directory exists
|
116 |
os.makedirs(output_directory, exist_ok=True)
|
|
|
111 |
|
112 |
|
113 |
def unzip_file_to_directory(zip_file_path):
|
114 |
+
shutil.rmtree('/data/presets')
|
115 |
output_directory = '/data/presets/'
|
116 |
# Ensure the output directory exists
|
117 |
os.makedirs(output_directory, exist_ok=True)
|