mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-15 18:11:52 +00:00
[GH-ISSUE #228] Sprites for Custom Classify Model not Loading/Detected #136
Labels
No labels
bug
duplicate
planned
pull-request
under consideration
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Extras#136
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?
Originally created by @Bredrumb on GitHub (Mar 13, 2024).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/228
Hi, I just installed the Extras API using the Conda method and it successfully runs on my Windows laptop with the following launch command:
python server.py --enable-modules=classify --classification-model=koheiduck/bert-japanese-finetuned-sentimentI'm only using it for its Classify module since I'm using it in a different language and it successfully classifies the text as intended:
The problem is that SillyTavern is unable to load or even detect the outputted sentiment's corresponding sprite. Uploading an image through SillyTavern's web interface successfully creates a character folder with the image file in

SillyTavern/public/characters, but it does not update in the SillyTavern interface:Even if the named emotion's image file does in fact exist in the character's sprite folder, which I've also tried manually creating instead of uploading using SillyTavern's web interface:

This causes the sprites to not load at all, even if the Extras API returns the proper sentiment and even if the sprites do exist in the proper directory. Which is weird considering Local Server Classification works properly as intended (but it only supports English so I'm trying to use Extras to use a different classification model) so I'm thinking it is a problem with Extras itself.
Not exactly sure on which information is needed, I'll be glad to provide more. Thank you for the hard work.