mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[PR #223] [MERGED] Embedding forced reload. #278
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#278
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?
📋 Pull Request Information
Original PR: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/223
Author: @Symbiomatrix
Created: 8/20/2023
Status: ✅ Merged
Merged: 8/20/2023
Merged by: @DominikDoom
Base:
main← Head:embload📝 Commits (3)
5b69d1eEmbedding forced reload.79bab04Typo.6f93d19Edit error message.📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
scripts/tag_autocomplete_helper.py(+8 -1)📄 Description
Hey dom, been having some trouble with getting embeddings to reload on the latest webui.
I found this method
load_textual_inversion_embeddingswhich can be called to reload embeddings instantly, adding it to refresh_temp_files seems to do the trick for me.The force_reload might not be necessary but I think it's better to be sure we're refreshing. I'm not sure whether auto's architecture on this is the same as vlad's (and of course in legacy versions), so I added an exception and dummified the function in such cases.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.