Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TransparentLC committed Apr 30, 2024
1 parent a144595 commit 1596904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def init_config_and_model_paths() -> tuple[configparser.ConfigParser, list[str]]
config.read(define.APP_CONFIG_PATH)

if config['Config'].get('Upscaler'):
define.RE_PATH = config['Config'].get('Upscaler')
define.RE_PATH = os.path.realpath(config['Config'].get('Upscaler'))

try:
modelDir = config['Config'].get('ModelDir') or os.path.join(define.APP_PATH, 'models')
Expand Down

0 comments on commit 1596904

Please sign in to comment.