Skip to content

if use --data-dir in command line, this extensions will get an path error #62

@AntonyM55

Description

@AntonyM55

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions