Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Vladmandic Support #78

Open
Evil-Dragon opened this issue Apr 27, 2023 · 2 comments
Open

Vladmandic Support #78

Evil-Dragon opened this issue Apr 27, 2023 · 2 comments

Comments

@Evil-Dragon
Copy link

Trying to move away from A111 since it's not been updated for a month but currently this extension doesn't appear to work with Vladmandic:

executing callback: G:\automatic\extensions\stable-diffusion-webui-wd14-tagger\scripts\tagger.py ui_tabs_callback:
AttributeError
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ G:\automatic\modules\script_callbacks.py:142 in ui_tabs_callback │
│ │
│ 141 │ │ try: │
│ > 142 │ │ │ res += c.callback() or [] │
│ 143 │ │ except Exception as e: │
│ │
│ G:\automatic\extensions\stable-diffusion-webui-wd14-tagger\tagger\ui.py:329 in on_ui_tabs │
│ │
│ 328 │ │ │ │ │ with gr.Row(variant='compact'): │
│ > 329 │ │ │ │ │ │ interrogator_names = utils.refresh_interrogators() │
│ 330 │ │ │ │ │ │ interrogator = utils.preset.component( │
│ │
│ G:\automatic\extensions\stable-diffusion-webui-wd14-tagger\tagger\utils.py:70 in refresh_interrogators │
│ │
│ 69 │ │
│ > 70 │ for path in os.scandir(shared.cmd_opts.deepdanbooru_projects_path): │
│ 71 │ │ if not path.is_dir(): │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
AttributeError: 'Namespace' object has no attribute 'deepdanbooru_projects_path'

No tab appears in the UI.

@SargaPulcsis
Copy link

Same for me.

@Evil-Dragon
Copy link
Author

Evil-Dragon commented Apr 28, 2023

Kinda found out why, this is due to some old support for deepdanbooru that A111 had.

It can be made to work but it's a bit hacky: vladmandic/sdnext#335 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants