correct path --data-dir

pull/154/head
w-e-w 2023-05-16 01:40:51 +09:00
parent fcf5a27aef
commit ec1a274181
1 changed files with 2 additions and 2 deletions

View File

@ -3,11 +3,11 @@
import os
import json
from . import util
from modules import shared
from modules import shared, paths_internal
# this is the default root path
root_path = os.getcwd()
root_path = paths_internal.data_path
# if command line arguement is used to change model folder,
# then model folder is in absolute path, not based on this root path anymore.