text-generation-webui/js/update_big_picture.js

8 lines
250 B
JavaScript
Raw Normal View History

function updateBigPicture() {
2023-12-27 12:59:23 -05:00
var existingElement = document.querySelector(".bigProfilePicture");
if (existingElement) {
var timestamp = new Date().getTime();
existingElement.src = "/file/cache/pfp_character.png?time=" + timestamp;
}
}