Spaces:
Running
Running
jhj0517
commited on
Commit
•
3fcd292
1
Parent(s):
6431157
Add temp dir
Browse files- modules/paths.py +3 -1
modules/paths.py
CHANGED
@@ -5,9 +5,11 @@ MODELS_DIR = os.path.join(WEBUI_DIR, "models")
|
|
5 |
SAM2_CONFIGS_DIR = os.path.join(WEBUI_DIR, "configs")
|
6 |
OUTPUT_DIR = os.path.join(WEBUI_DIR, "outputs")
|
7 |
OUTPUT_PSD_DIR = os.path.join(OUTPUT_DIR, "psd")
|
|
|
8 |
|
9 |
for dir_path in [MODELS_DIR,
|
10 |
SAM2_CONFIGS_DIR,
|
11 |
OUTPUT_DIR,
|
12 |
-
OUTPUT_PSD_DIR
|
|
|
13 |
os.makedirs(dir_path, exist_ok=True)
|
|
|
5 |
SAM2_CONFIGS_DIR = os.path.join(WEBUI_DIR, "configs")
|
6 |
OUTPUT_DIR = os.path.join(WEBUI_DIR, "outputs")
|
7 |
OUTPUT_PSD_DIR = os.path.join(OUTPUT_DIR, "psd")
|
8 |
+
TEMP_DIR = os.path.join(WEBUI_DIR, "temp")
|
9 |
|
10 |
for dir_path in [MODELS_DIR,
|
11 |
SAM2_CONFIGS_DIR,
|
12 |
OUTPUT_DIR,
|
13 |
+
OUTPUT_PSD_DIR,
|
14 |
+
TEMP_DIR]:
|
15 |
os.makedirs(dir_path, exist_ok=True)
|