You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a character is loaded and a PFP is generated in chat.py > generate_pfp_cache a thumbnail is generated as well.
This thumbnail image is then returned back to state['character_picture'] for us in Gradio.
When saving the character, state['character_picture'] is saved as the image parallel to the character .yaml, overwriting the original, and potentialy larger, image.
If this was the intended behavior, I would have assumed the down scaling would be performed when an image is initially imported.
Describe the bug
When a character is loaded and a PFP is generated in chat.py > generate_pfp_cache a thumbnail is generated as well.
This thumbnail image is then returned back to state['character_picture'] for us in Gradio.
When saving the character, state['character_picture'] is saved as the image parallel to the character .yaml, overwriting the original, and potentialy larger, image.
If this was the intended behavior, I would have assumed the down scaling would be performed when an image is initially imported.
text-generation-webui/modules/chat.py
Line 721 in cc8c7ed
Suggested sollution:
Is there an existing issue for this?
Reproduction
alt.
Screenshot
No response
Logs
System Info
The text was updated successfully, but these errors were encountered: