jhj0517 commited on
Commit
d1ad5e8
1 Parent(s): 64bd701

Add REAL ESRGAN DIR

Browse files
Files changed (1) hide show
  1. modules/utils/paths.py +2 -0
modules/utils/paths.py CHANGED
@@ -5,6 +5,7 @@ import os
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
  OUTPUTS_DIR = os.path.join(PROJECT_ROOT_DIR, "outputs")
9
  OUTPUTS_VIDEOS_DIR = os.path.join(OUTPUTS_DIR, "videos")
10
  TEMP_DIR = os.path.join(OUTPUTS_DIR, "temp")
@@ -52,6 +53,7 @@ def init_dirs():
52
  for dir_path in [
53
  MODELS_DIR,
54
  MODELS_ANIMAL_DIR,
 
55
  OUTPUTS_DIR,
56
  EXP_OUTPUT_DIR,
57
  TEMP_DIR,
 
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")
9
  OUTPUTS_DIR = os.path.join(PROJECT_ROOT_DIR, "outputs")
10
  OUTPUTS_VIDEOS_DIR = os.path.join(OUTPUTS_DIR, "videos")
11
  TEMP_DIR = os.path.join(OUTPUTS_DIR, "temp")
 
53
  for dir_path in [
54
  MODELS_DIR,
55
  MODELS_ANIMAL_DIR,
56
+ MODELS_REAL_ESRGAN_DIR,
57
  OUTPUTS_DIR,
58
  EXP_OUTPUT_DIR,
59
  TEMP_DIR,