mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #151] Error executing callback ui_settings_callback #111
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @whitesky1226 on GitHub (Apr 3, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/151
前两天可以正常运行该插件。
今天加载webui时出现以下提示:
Error executing callback ui_settings_callback for E:\AI painting\novelai-webui-aki-v2\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py
Traceback (most recent call last):
File "E:\AI painting\novelai-webui-aki-v2\modules\script_callbacks.py", line 143, in ui_settings_callback
c.callback()
File "E:\AI painting\novelai-webui-aki-v2\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 297, in on_ui_settings
}""", """Configure Hotkeys. For possible values, see https://www.w3.org/TR/uievents-key, or leave empty / set to 'None' to disable. Must be valid JSON.""", gr.Code, lambda: {"language": "json", "interactive": True}, section=TAC_SECTION))
AttributeError: module 'gradio' has no attribute 'Code'
禁用该插件后一切恢复正常。请问我这边哪里出了问题😂?谢谢!
@DominikDoom commented on GitHub (Apr 3, 2023):
(机器翻译)
这很简单。gradio.Code()只在新版本中可用。你必须更新你的webui,使其获得这些变化,或者使用今天添加这些设置之前的旧版本的tag-autocomplete。
我不能为旧版本添加回退功能,因为当前版本的脚本依赖于这些选项的存在。
@DominikDoom commented on GitHub (Apr 4, 2023):
与我的预期不同,我在尝试了一段时间后,能够添加一个回退,所以如果你还没有更新你的webui,现在应该还能工作。
@whitesky1226 commented on GitHub (Apr 4, 2023):
OK, thx a lot😊