Spaces:
Runtime error
Runtime error
jhj0517
commited on
Commit
•
cbd23da
1
Parent(s):
b0345e8
Add path
Browse files- modules/paths.py +3 -1
modules/paths.py
CHANGED
@@ -6,10 +6,12 @@ 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)
|
|
|
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 |
+
TEMP_OUT_DIR = os.path.join(TEMP_DIR, "out")
|
10 |
|
11 |
for dir_path in [MODELS_DIR,
|
12 |
SAM2_CONFIGS_DIR,
|
13 |
OUTPUT_DIR,
|
14 |
OUTPUT_PSD_DIR,
|
15 |
+
TEMP_DIR,
|
16 |
+
TEMP_OUT_DIR]:
|
17 |
os.makedirs(dir_path, exist_ok=True)
|