Spaces:
Runtime error
Runtime error
jhj0517
commited on
Commit
•
b76be88
1
Parent(s):
d3e66e1
Add psd output path
Browse files- modules/paths.py +3 -1
modules/paths.py
CHANGED
@@ -4,9 +4,11 @@ WEBUI_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
|
4 |
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 |
|
8 |
for dir_path in [WEBUI_DIR,
|
9 |
MODELS_DIR,
|
10 |
SAM2_CONFIGS_DIR,
|
11 |
-
OUTPUT_DIR
|
|
|
12 |
os.makedirs(dir_path, exist_ok=True)
|
|
|
4 |
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 [WEBUI_DIR,
|
10 |
MODELS_DIR,
|
11 |
SAM2_CONFIGS_DIR,
|
12 |
+
OUTPUT_DIR,
|
13 |
+
OUTPUT_PSD_DIR]:
|
14 |
os.makedirs(dir_path, exist_ok=True)
|