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:
+2
-1
@@ -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) });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user