diff --git a/README.md b/README.md index 9bc350e..9356950 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ Some are already included in the default list though, so trying it out first is ![image](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/assets/34448969/4302c44e-c632-473d-a14a-76f164f966cb) +After having added your custom keywords, you will need to either restart the UI or use the "Refresh TAC temp files" setting button. Sometimes the inserted keywords can be wrong due to a hash collision, however model-keyword and tag autocomplete take the name of the file into account too if the collision is known. diff --git a/javascript/tagAutocomplete.js b/javascript/tagAutocomplete.js index b3deb3f..6281b72 100644 --- a/javascript/tagAutocomplete.js +++ b/javascript/tagAutocomplete.js @@ -1099,6 +1099,7 @@ async function refreshTacTempFiles() { hypernetworks = []; loras = []; lycos = []; + modelKeywordDict.clear(); await processQueue(QUEUE_FILE_LOAD, null); console.log("TAC: Refreshed temp files");