fix(tagger): model-neutral session log; changelog for JoyTag

create_tagger_session is shared by both models but logged "WD tagger: using
CPU execution provider" even when loading JoyTag. Make the CPU/DirectML
session logs model-neutral. Add the JoyTag tagging-model picker to the
changelog now that it's runtime-verified.
This commit is contained in:
2026-06-29 10:08:55 +01:00
parent 705f8c2e56
commit 1685134116
4 changed files with 13 additions and 5 deletions
+2 -1
View File
@@ -2166,7 +2166,8 @@ export const useGalleryStore = create<GalleryState>((set, get) => ({
loadTaggerModel: async () => {
try {
const taggerModel = await invoke<TaggerModel>("get_tagger_model");
set({ taggerModel });
// Never clobber the valid default with a missing/blank backend response.
if (taggerModel) set({ taggerModel });
} catch (error) {
set({ taggerModelError: String(error) });
}