forked from toriato/stable-diffusion-webui-wd14-tagger
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
questionFurther information is requestedFurther information is requested
Description
When click the "Unload all interrogate models" button, the following errors occurred:
...
File "D:\app2\stable-diffusion-webui\extensions\stable-diffusion-webui-wd14-tagger\tagger\ui.py", line 25, in unload_interrogators
if i.unload():
File "D:\app2\stable-diffusion-webui\extensions\stable-diffusion-webui-wd14-tagger\tagger\interrogator.py", line 136, in unload
gr.collect()
AttributeError: module 'gradio' has no attribute 'collect'
After a quick check, this error was caused by a code change (in line 136, \tagger\interrogator.py) within an recent pull request merge - "Manually merged: Support ML-Danbooru https://github.com/picobyte/stable-diffusion-webui-wd14-tagger/pull/6, changes amended from CCRcmcpe's".
Please review the relevant code and fix it, currently tagger can not clean its loaded models up. Thanks.
BTW, my webui env versions:
version: v1.4.1 • python: 3.10.8 • torch: 2.0.0+cu118 • xformers: 0.0.20 • gradio: 3.32.0
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested