Open AntonyM55 opened 8 months ago
if use --data-dir in command line, this extensions will get an path error, it shows stable diffution's path, but not data-dir,
I fixed this, with this code,
from modules import paths ME_PATH = Path(paths.extensions_dir, 'sd-webui-stablesr') MODEL_PATH = ME_PATH / 'models'
if use --data-dir in command line, this extensions will get an path error, it shows stable diffution's path, but not data-dir,
I fixed this, with this code,
from modules import paths ME_PATH = Path(paths.extensions_dir, 'sd-webui-stablesr') MODEL_PATH = ME_PATH / 'models'