mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
refresh live char when a new talkinghead image is uploaded
This commit is contained in:
@ -1265,6 +1265,11 @@ async function onClickExpressionUpload(event) {
|
||||
|
||||
// Reset the input
|
||||
e.target.form.reset();
|
||||
|
||||
// In talkinghead mode, when a new talkinghead image is uploaded, refresh the live char.
|
||||
if (extension_settings.expressions.talkinghead && id === "talkinghead") {
|
||||
await loadLiveChar();
|
||||
}
|
||||
};
|
||||
|
||||
$('#expression_upload')
|
||||
|
Reference in New Issue
Block a user