mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
8 lines
250 B
JavaScript
8 lines
250 B
JavaScript
|
function updateBigPicture() {
|
||
|
var existingElement = document.querySelector('.bigProfilePicture');
|
||
|
if (existingElement) {
|
||
|
var timestamp = new Date().getTime();
|
||
|
existingElement.src = "/file/cache/pfp_character.png?time=" + timestamp;
|
||
|
}
|
||
|
}
|