Skip to content

Commit

Permalink
Merge branch 'DominikDoom:main' into umi-suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ctwrs authored Dec 26, 2022
2 parents 0c3397a + 4f582f4 commit 1620160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tag_autocomplete_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def update_tag_files():
def on_ui_settings():
TAC_SECTION = ("tac", "Tag Autocomplete")
# Main tag file
shared.opts.add_option("tac_tagFile", shared.OptionInfo("danbooru.csv", "Tag filename", gr.Dropdown, lambda: {"choices": csv_files}, refresh=update_tag_files, section=TAC_SECTION))
shared.opts.add_option("tac_tagFile", shared.OptionInfo("danbooru.csv", "Tag filename", gr.Dropdown, lambda: {"choices": csv_files_withnone}, refresh=update_tag_files, section=TAC_SECTION))
# Active in settings
shared.opts.add_option("tac_active", shared.OptionInfo(True, "Enable Tag Autocompletion", section=TAC_SECTION))
shared.opts.add_option("tac_activeIn.txt2img", shared.OptionInfo(True, "Active in txt2img (Requires restart)", section=TAC_SECTION))
Expand Down

0 comments on commit 1620160

Please sign in to comment.