jhj0517
commited on
Commit
•
4b6dc3c
1
Parent(s):
2444752
Make it normpath
Browse files- modules/utils/paths.py +1 -1
modules/utils/paths.py
CHANGED
@@ -2,7 +2,7 @@ import functools
|
|
2 |
import os
|
3 |
|
4 |
|
5 |
-
PROJECT_ROOT_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..")
|
6 |
MODELS_DIR = os.path.join(PROJECT_ROOT_DIR, "models")
|
7 |
MODELS_ANIMAL_DIR = os.path.join(MODELS_DIR, "animal")
|
8 |
MODELS_REAL_ESRGAN_DIR = os.path.join(MODELS_DIR, "RealESRGAN")
|
|
|
2 |
import os
|
3 |
|
4 |
|
5 |
+
PROJECT_ROOT_DIR = os.path.normpath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", ".."))
|
6 |
MODELS_DIR = os.path.join(PROJECT_ROOT_DIR, "models")
|
7 |
MODELS_ANIMAL_DIR = os.path.join(MODELS_DIR, "animal")
|
8 |
MODELS_REAL_ESRGAN_DIR = os.path.join(MODELS_DIR, "RealESRGAN")
|