correct path --data-dir
parent
fcf5a27aef
commit
ec1a274181
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue