picobyte / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
539 stars 64 forks source link

[BUG?] on SD Next #75

Open YKefasu opened 9 months ago

YKefasu commented 9 months ago
06:23:55-724783 INFO     Python 3.10.8 on Windows
06:23:56-138469 INFO     Version: app=sd.next updated=2023-09-27 hash=180f8c9c
                         url=https://github.com/vladmandic/automatic/tree/master
06:25:56-029353 ERROR    executing callback: C:\New
                         folder\automatic\extensions\stable-diffusion-webui-wd14-tagger\scripts\tagger.py
                         ui_tabs_callback: AttributeError
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ C:\New folder\automatic\modules\script_callbacks.py:162 in ui_tabs_callback                                          │
│                                                                                                                      │
│   161 │   │   │   t0 = time.time()                                                                                   │
│ ❱ 162 │   │   │   res += c.callback() or []                                                                          │
│   163 │   │   │   timer(t0, c.script, 'ui_tabs')                                                                     │
│                                                                                                                      │
│ C:\New folder\automatic\extensions\stable-diffusion-webui-wd14-tagger\tagger\ui.py:250 in on_ui_tabs                 │
│                                                                                                                      │
│   249 │   │   │   │   │   │   save_preset_button = gr.Button(                                                        │
│ ❱ 250 │   │   │   │   │   │   │   value=ui.save_style_symbol                                                         │
│   251 │   │   │   │   │   │   )                                                                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: module 'modules.ui' has no attribute 'save_style_symbol'
picobyte commented 9 months ago

This is not an extension for vladmandic, but for AUTOMATIC1111 and save_style_symbol is defined right here

RoelKluin commented 9 months ago

vladmandic is just a fork of AUTOMATIC1111 so possibly to support both is feasible.

Bercraft commented 7 months ago

Here there is a fork for vladmandic https://github.com/GiusTex/vladmandic-WD14-Tagger